Class: Telegram::Bot::Types::KeyboardButtonRequestChat
- Defined in:
- sig/telegram/bot/types/keyboard_button_request_chat.rbs
Instance Attribute Summary collapse
-
#bot_administrator_rights ⇒ ChatAdministratorRights?
readonly
Returns the value of attribute bot_administrator_rights.
-
#bot_is_member ⇒ Boolean?
readonly
Returns the value of attribute bot_is_member.
-
#chat_has_username ⇒ Boolean?
readonly
Returns the value of attribute chat_has_username.
-
#chat_is_channel ⇒ Boolean
readonly
Returns the value of attribute chat_is_channel.
-
#chat_is_created ⇒ Boolean?
readonly
Returns the value of attribute chat_is_created.
-
#chat_is_forum ⇒ Boolean?
readonly
Returns the value of attribute chat_is_forum.
-
#request_id ⇒ Integer
readonly
Returns the value of attribute request_id.
-
#request_photo ⇒ Boolean?
readonly
Returns the value of attribute request_photo.
-
#request_title ⇒ Boolean?
readonly
Returns the value of attribute request_title.
-
#request_username ⇒ Boolean?
readonly
Returns the value of attribute request_username.
-
#user_administrator_rights ⇒ ChatAdministratorRights?
readonly
Returns the value of attribute user_administrator_rights.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#bot_administrator_rights ⇒ ChatAdministratorRights? (readonly)
Returns the value of attribute bot_administrator_rights.
14 15 16 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 14 def bot_administrator_rights @bot_administrator_rights end |
#bot_is_member ⇒ Boolean? (readonly)
Returns the value of attribute bot_is_member.
15 16 17 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 15 def bot_is_member @bot_is_member end |
#chat_has_username ⇒ Boolean? (readonly)
Returns the value of attribute chat_has_username.
11 12 13 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 11 def chat_has_username @chat_has_username end |
#chat_is_channel ⇒ Boolean (readonly)
Returns the value of attribute chat_is_channel.
9 10 11 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 9 def chat_is_channel @chat_is_channel end |
#chat_is_created ⇒ Boolean? (readonly)
Returns the value of attribute chat_is_created.
12 13 14 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 12 def chat_is_created @chat_is_created end |
#chat_is_forum ⇒ Boolean? (readonly)
Returns the value of attribute chat_is_forum.
10 11 12 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 10 def chat_is_forum @chat_is_forum end |
#request_id ⇒ Integer (readonly)
Returns the value of attribute request_id.
8 9 10 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 8 def request_id @request_id end |
#request_photo ⇒ Boolean? (readonly)
Returns the value of attribute request_photo.
18 19 20 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 18 def request_photo @request_photo end |
#request_title ⇒ Boolean? (readonly)
Returns the value of attribute request_title.
16 17 18 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 16 def request_title @request_title end |
#request_username ⇒ Boolean? (readonly)
Returns the value of attribute request_username.
17 18 19 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 17 def request_username @request_username end |
#user_administrator_rights ⇒ ChatAdministratorRights? (readonly)
Returns the value of attribute user_administrator_rights.
13 14 15 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 13 def user_administrator_rights @user_administrator_rights end |
Class Method Details
.new(request_id:, chat_is_channel:, chat_is_forum:, chat_has_username:, chat_is_created:, user_administrator_rights:, bot_administrator_rights:, bot_is_member:, request_title:, request_username:, request_photo:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/keyboard_button_request_chat.rbs', line 6
def self.new: (request_id: Integer, chat_is_channel: bool, ?chat_is_forum: bool, ?chat_has_username: bool, ?chat_is_created: bool, ?user_administrator_rights: ChatAdministratorRights, ?bot_administrator_rights: ChatAdministratorRights, ?bot_is_member: bool, ?request_title: bool, ?request_username: bool, ?request_photo: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|