Keyboard Button Request Users
@Serializable
This object defines the criteria used to request suitable users. Information about the selected users will be shared with the bot when the corresponding button is pressed. More about requesting users: https://core.telegram.org/bots/features#chat-and-user-selection
Constructors
Properties
Link copied to clipboard
Optional. The maximum number of users to be selected; 1-10. Defaults to 1.
Link copied to clipboard
Optional. Pass True to request the users' first and last names
Link copied to clipboard
Optional. Pass True to request the users' photos
Link copied to clipboard
Optional. Pass True to request the users' usernames
Link copied to clipboard
Optional. Pass True to request premium users, pass False to request non-premium users. If not specified, no additional restrictions are applied.