Class: TD::Types::InlineQueryResultsButtonType::StartBot

Inherits:
TD::Types::InlineQueryResultsButtonType show all
Defined in:
lib/tdlib/types/inline_query_results_button_type/start_bot.rb

Overview

Describes the button that opens a private chat with the bot and sends a start message to the bot with the given

parameter.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#parameterTD::Types::String

The parameter for the bot start message.

Returns:

  • (TD::Types::String)

    the current value of parameter



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

def parameter
  @parameter
end