Class: TD::Types::BotCommands
- Defined in:
- lib/tdlib/types/bot_commands.rb
Overview
Contains a list of bot commands.
Instance Attribute Summary collapse
-
#bot_user_id ⇒ Integer
Bot’s user identifier.
-
#commands ⇒ Array<TD::Types::BotCommand>
List of bot commands.
Method Summary
Methods inherited from Base
Instance Attribute Details
#bot_user_id ⇒ Integer
Bot’s user identifier.
6 7 8 |
# File 'lib/tdlib/types/bot_commands.rb', line 6 def bot_user_id @bot_user_id end |
#commands ⇒ Array<TD::Types::BotCommand>
List of bot commands.
6 7 8 |
# File 'lib/tdlib/types/bot_commands.rb', line 6 def commands @commands end |