Class: TD::Types::Update::NewChosenInlineResult

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

Overview

The user has chosen a result of an inline query; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#inline_message_idTD::Types::String

Identifier of the sent inline message, if known.

Returns:

  • (TD::Types::String)

    the current value of inline_message_id



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

def inline_message_id
  @inline_message_id
end

#queryTD::Types::String

Text of the query.

Returns:

  • (TD::Types::String)

    the current value of query



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

def query
  @query
end

#result_idTD::Types::String

Identifier of the chosen result.

Returns:

  • (TD::Types::String)

    the current value of result_id



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

def result_id
  @result_id
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_chosen_inline_result.rb', line 9

def sender_user_id
  @sender_user_id
end

#user_locationTD::Types::Location?

User location; may be null.

Returns:



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

def user_location
  @user_location
end