Class: TD::Types::Update::NewInlineCallbackQuery

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/new_inline_callback_query.rb

Overview

A new incoming callback query from a message sent via a bot; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_instanceInteger

An identifier uniquely corresponding to the chat a message was sent to.

Returns:

  • (Integer)

    the current value of chat_instance



9
10
11
# File 'lib/tdlib/types/update/new_inline_callback_query.rb', line 9

def chat_instance
  @chat_instance
end

#idInteger

Unique query identifier.

Returns:

  • (Integer)

    the current value of id



9
10
11
# File 'lib/tdlib/types/update/new_inline_callback_query.rb', line 9

def id
  @id
end

#inline_message_idTD::Types::String

Identifier of the inline message, from which the query originated.

Returns:

  • (TD::Types::String)

    the current value of inline_message_id



9
10
11
# File 'lib/tdlib/types/update/new_inline_callback_query.rb', line 9

def inline_message_id
  @inline_message_id
end

#payloadTD::Types::CallbackQueryPayload

Query payload.

Returns:



9
10
11
# File 'lib/tdlib/types/update/new_inline_callback_query.rb', line 9

def payload
  @payload
end

#sender_user_idInteger

Identifier of the user who sent the query.

Returns:

  • (Integer)

    the current value of sender_user_id



9
10
11
# File 'lib/tdlib/types/update/new_inline_callback_query.rb', line 9

def sender_user_id
  @sender_user_id
end