Class: Telegram::Bot::Types::KeyboardButtonRequestManagedBot
- Defined in:
- sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs
Instance Attribute Summary collapse
-
#request_id ⇒ Integer
readonly
Returns the value of attribute request_id.
-
#suggested_name ⇒ String?
readonly
Returns the value of attribute suggested_name.
-
#suggested_username ⇒ String?
readonly
Returns the value of attribute suggested_username.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#request_id ⇒ Integer (readonly)
Returns the value of attribute request_id.
8 9 10 |
# File 'sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs', line 8 def request_id @request_id end |
#suggested_name ⇒ String? (readonly)
Returns the value of attribute suggested_name.
9 10 11 |
# File 'sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs', line 9 def suggested_name @suggested_name end |
#suggested_username ⇒ String? (readonly)
Returns the value of attribute suggested_username.
10 11 12 |
# File 'sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs', line 10 def suggested_username @suggested_username end |
Class Method Details
.new(request_id:, suggested_name:, suggested_username:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs', line 6
def self.new: (request_id: Integer, ?suggested_name: String, ?suggested_username: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|