Class: TD::Types::InlineKeyboardButtonType::Callback

Inherits:
TD::Types::InlineKeyboardButtonType show all
Defined in:
lib/tdlib/types/inline_keyboard_button_type/callback.rb

Overview

A button that sends a callback query to a bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dataString

Data to be sent to the bot via a callback query.

Returns:

  • (String)

    the current value of data



5
6
7
# File 'lib/tdlib/types/inline_keyboard_button_type/callback.rb', line 5

def data
  @data
end