Class: TD::Types::MessageContent::BotWriteAccessAllowed
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::BotWriteAccessAllowed
- Defined in:
- lib/tdlib/types/message_content/bot_write_access_allowed.rb
Overview
The user allowed the bot to send messages.
Instance Attribute Summary collapse
-
#reason ⇒ TD::Types::BotWriteAccessAllowReason
The reason why the bot was allowed to write messages.
Method Summary
Methods inherited from Base
Instance Attribute Details
#reason ⇒ TD::Types::BotWriteAccessAllowReason
The reason why the bot was allowed to write messages.
5 6 7 |
# File 'lib/tdlib/types/message_content/bot_write_access_allowed.rb', line 5 def reason @reason end |