struct

Telegram::KeyboardButtonRequestUsers

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: KeyboardButtonRequestUsers 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

new(request_id : Int64, user_is_bot : Bool | Nil = nil, user_is_premium : Bool | Nil = nil, max_quantity : Int64 | Nil = nil, request_name : Bool | Nil = nil, request_username : Bool | Nil = nil, request_photo : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(request_id _request_id = @request_id, user_is_bot _user_is_bot = @user_is_bot, user_is_premium _user_is_premium = @user_is_premium, max_quantity _max_quantity = @max_quantity, request_name _request_name = @request_name, request_username _request_username = @request_username, request_photo _request_photo = @request_photo)
Source
max_quantity
request_id
request_name
request_photo
request_username
user_is_bot
user_is_premium