Class: TD::Types::BotCommands

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

Overview

Contains a list of bot commands.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bot_user_idInteger

Bot’s user identifier.

Returns:

  • (Integer)

    the current value of bot_user_id



6
7
8
# File 'lib/tdlib/types/bot_commands.rb', line 6

def bot_user_id
  @bot_user_id
end

#commandsArray<TD::Types::BotCommand>

List of bot commands.

Returns:



6
7
8
# File 'lib/tdlib/types/bot_commands.rb', line 6

def commands
  @commands
end