• Add one or more new members to a group, supergroup or channel.

    Parameters

    • client: ITelegramClient
    • chatId: InputPeerLike

      ID of the chat or its username

    • users: MaybeArray<InputPeerLike>

      ID(s) of the user(s) to add

    • params: { forwardCount?: number }
      • OptionalforwardCount?: number

        Number of old messages to be forwarded (0-100). Only applicable to legacy groups, ignored for supergroups and channels

        100
        

    Returns Promise<tl.RawMissingInvitee[]>

    List of users that were failed to be invited (may be empty)