Class: TD::Types::MessageContent::BotWriteAccessAllowed

Inherits:
TD::Types::MessageContent show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#reasonTD::Types::BotWriteAccessAllowReason

The reason why the bot was allowed to write messages.

Returns:



5
6
7
# File 'lib/tdlib/types/message_content/bot_write_access_allowed.rb', line 5

def reason
  @reason
end