Skip to main content


Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface UsersShared
import { type UsersShared } from "";

This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUsers button.


request_id: number

Identifier of the request

user_ids: number[]

Identifiers of the shared users. The bot may not have access to the users and could be unable to use these identifiers, unless the users are already known to the bot by some other means.