Class: TD::Types::CallbackQueryPayload::Data

Inherits:
TD::Types::CallbackQueryPayload show all
Defined in:
lib/tdlib/types/callback_query_payload/data.rb

Overview

The payload for a general callback button.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dataString

Data that was attached to the callback button.

Returns:

  • (String)

    the current value of data



5
6
7
# File 'lib/tdlib/types/callback_query_payload/data.rb', line 5

def data
  @data
end