lib/tdlib/client_methods.rb
def answer_custom_query(custom_query_id:, data:)
    broadcast('@type'           => 'answerCustomQuery',
              'custom_query_id' => custom_query_id,
              'data'            => data)
  end
# Answers a custom query; for bots only.
#
# @param custom_query_id [Integer] Identifier of a custom query.
# @param data [TD::Types::String] JSON-serialized answer to the query.
# @return [TD::Types::Ok]
Answers a custom query; for bots only.
Answers a custom query ; for bots only .
def answer_custom_query(custom_query_id:, data:)
    broadcast('@type'           => 'answerCustomQuery',
              'custom_query_id' => custom_query_id,
              'data'            => data)
  end
def answer_custom_query ( custom_query_id : , data : ) broadcast ( '@type' => 'answerCustomQuery' , 'custom_query_id' => custom_query_id , 'data' => data ) end
Answers a custom query; for bots only.
Answers a custom query ; for bots only .
None
TD::Types::Ok
custom_query_id
Identifier of a custom query.
Identifier of a custom query .
data
JSON-serialized answer to the query.
JSON - serialized answer to the query .