Class: TD::Types::BusinessConnectedBot
- Defined in:
- lib/tdlib/types/business_connected_bot.rb
Overview
Describes a bot connected to a business account.
Instance Attribute Summary collapse
-
#bot_user_id ⇒ Integer
User identifier of the bot.
-
#can_reply ⇒ Boolean
True, if the bot can send messages to the private chats; false otherwise.
-
#recipients ⇒ TD::Types::BusinessRecipients
Private chats that will be accessible to the bot.
Method Summary
Methods inherited from Base
Instance Attribute Details
#bot_user_id ⇒ Integer
User identifier of the bot.
7 8 9 |
# File 'lib/tdlib/types/business_connected_bot.rb', line 7 def bot_user_id @bot_user_id end |
#can_reply ⇒ Boolean
True, if the bot can send messages to the private chats; false otherwise.
7 8 9 |
# File 'lib/tdlib/types/business_connected_bot.rb', line 7 def can_reply @can_reply end |
#recipients ⇒ TD::Types::BusinessRecipients
Private chats that will be accessible to the bot.
7 8 9 |
# File 'lib/tdlib/types/business_connected_bot.rb', line 7 def recipients @recipients end |