diff options
Diffstat (limited to 'query.c')
-rw-r--r-- | query.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -125,15 +125,15 @@ int handle_inline(struct TdUpdateNewInlineQuery *update) { t); } - td_send(TdCreateObjectAnswerInlineQuery(update->id_, - false, - (struct TdVectorInputInlineQueryResult *) + td_send(TdCreateObjectAnswerInlineQuery(update->id_, /* inline_query_id */ + false, /* is_personal */ + NULL, /* button */ + (struct TdVectorInputInlineQueryResult *) /* results */ TdCreateObjectVectorObject(effective_items_count, (struct TdObject **) results_inline), - 0, - NULL, - NULL, - NULL), + 0, /* cache_time */ + NULL /* next_offset */ + ), &cb_answer, NULL); @@ -146,6 +146,7 @@ int handle_inline(struct TdUpdateNewInlineQuery *update) { } int handle_inline_chosen(struct TdUpdateNewChosenInlineResult *update) { + LOGDV("Handling %s", update->result_id_); if (!update->result_id_ || update->result_id_[0] != 'x' || update->result_id_[1] != '_') return 0; |