Class: TD::Types::MessageContent::WebAppDataReceived

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/web_app_data_received.rb

Overview

Data from a Web App has been received; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#button_textTD::Types::String

Text of the KeyboardButtonType::WebApp button, which opened the Web App.

Returns:

  • (TD::Types::String)

    the current value of button_text



7
8
9
# File 'lib/tdlib/types/message_content/web_app_data_received.rb', line 7

def button_text
  @button_text
end

#dataTD::Types::String

The data.

Returns:

  • (TD::Types::String)

    the current value of data



7
8
9
# File 'lib/tdlib/types/message_content/web_app_data_received.rb', line 7

def data
  @data
end