class TelegramBot::KeyboardButtonRequestChat

Included Modules

Defined in:

telegram_bot/types/keyboard_button_request_chat.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(request_id : Int32, chat_is_channel : Bool, *, chat_is_forum : Bool | Nil = nil, chat_has_username : Bool | Nil = nil, chat_is_created : Bool | Nil = nil, user_administrator_rights : ChatAdministratorRights | Nil = nil, bot_administrator_rights : ChatAdministratorRights | Nil = nil, bot_is_member : Bool | Nil = nil, request_title : Bool | Nil = nil, request_username : Bool | Nil = nil, request_photo : Bool | Nil = nil) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def bot_administrator_rights : ChatAdministratorRights | Nil #

def bot_administrator_rights=(bot_administrator_rights : ChatAdministratorRights | Nil) #

def bot_is_member=(bot_is_member : Bool | Nil) #

def bot_is_member? : Bool | Nil #

def chat_has_username=(chat_has_username : Bool | Nil) #

def chat_has_username? : Bool | Nil #

def chat_is_channel=(chat_is_channel : Bool) #

def chat_is_channel? : Bool #

def chat_is_created=(chat_is_created : Bool | Nil) #

def chat_is_created? : Bool | Nil #

def chat_is_forum=(chat_is_forum : Bool | Nil) #

def chat_is_forum? : Bool | Nil #

def request_id : Int32 #

def request_id=(request_id : Int32) #

def request_photo=(request_photo : Bool | Nil) #

def request_photo? : Bool | Nil #

def request_title=(request_title : Bool | Nil) #

def request_title? : Bool | Nil #

def request_username=(request_username : Bool | Nil) #

def request_username? : Bool | Nil #

def user_administrator_rights : ChatAdministratorRights | Nil #

def user_administrator_rights=(user_administrator_rights : ChatAdministratorRights | Nil) #