Class: TD::Types::BusinessConnectedBot

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/business_connected_bot.rb

Overview

Describes a bot connected to a business account.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bot_user_idInteger

User identifier of the bot.

Returns:

  • (Integer)

    the current value of bot_user_id



7
8
9
# File 'lib/tdlib/types/business_connected_bot.rb', line 7

def bot_user_id
  @bot_user_id
end

#can_replyBoolean

True, if the bot can send messages to the private chats; false otherwise.

Returns:

  • (Boolean)

    the current value of can_reply



7
8
9
# File 'lib/tdlib/types/business_connected_bot.rb', line 7

def can_reply
  @can_reply
end

#recipientsTD::Types::BusinessRecipients

Private chats that will be accessible to the bot.

Returns:



7
8
9
# File 'lib/tdlib/types/business_connected_bot.rb', line 7

def recipients
  @recipients
end