import { tl } from '../../../tl/index.js'; import { MaybeArray } from '../../../types/utils.js'; import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike } from '../../types/index.js'; /** * Add one or more new members to a group, supergroup or channel. * * @param chatId ID of the chat or its username * @param users ID(s) of the user(s) to add * @returns List of users that were failed to be invited (may be empty) */ export declare function addChatMembers(client: ITelegramClient, chatId: InputPeerLike, users: MaybeArray, params: { /** * Number of old messages to be forwarded (0-100). * Only applicable to legacy groups, ignored for supergroups and channels * * @default 100 */ forwardCount?: number; }): Promise;