Class: TD::Types::BusinessBotManageBar

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

Overview

Contains information about a business bot that manages the chat.

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



9
10
11
# File 'lib/tdlib/types/business_bot_manage_bar.rb', line 9

def bot_user_id
  @bot_user_id
end

#can_bot_replyBoolean

True, if the bot can reply.

Returns:

  • (Boolean)

    the current value of can_bot_reply



9
10
11
# File 'lib/tdlib/types/business_bot_manage_bar.rb', line 9

def can_bot_reply
  @can_bot_reply
end

#is_bot_pausedBoolean

True, if the bot is paused. Use toggleBusinessConnectedBotChatIsPaused to change the value of the field.

Returns:

  • (Boolean)

    the current value of is_bot_paused



9
10
11
# File 'lib/tdlib/types/business_bot_manage_bar.rb', line 9

def is_bot_paused
  @is_bot_paused
end

#manage_urlTD::Types::String

URL to be opened to manage the bot.

Returns:

  • (TD::Types::String)

    the current value of manage_url



9
10
11
# File 'lib/tdlib/types/business_bot_manage_bar.rb', line 9

def manage_url
  @manage_url
end