Class: TD::Types::CallbackQueryPayload::DataWithPassword

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

Overview

The payload for a callback button requiring password.

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



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

def data
  @data
end

#passwordTD::Types::String

The password for the current user.

Returns:

  • (TD::Types::String)

    the current value of password



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

def password
  @password
end