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