Class: TD::Types::BotInfo

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

Overview

Provides information about a bot and its supported commands.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#commandsArray<TD::Types::BotCommand>

A list of commands supported by the bot.

Returns:



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

def commands
  @commands
end

#descriptionString

Long description shown on the user info page.

Returns:

  • (String)

    the current value of description



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

def description
  @description
end