Class UsersShared

Constructors

Properties

Methods

Constructors

  • Parameters

    • client: TelegramClient | BaseClient

      The client that instantiated this

    • data: UsersShared

      Data about the contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUsers button

    Returns UsersShared

Properties

requestId: number

Identifier of the request

users: Collection<string, SharedUser>

Information about users shared with the bot.

Methods

  • Makes the class iterable, returning each SharedUser object.

    Returns IterableIterator<SharedUser>