diff options
Diffstat (limited to 'stat.c')
-rw-r--r-- | stat.c | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -47,10 +47,17 @@ void stat(struct TdMessage *msg) { sqlite3_reset(stmt_global_stat); goto send; send: - td_send(TdCreateObjectSendMessage(msg->chat_id_, - 0, - msg->id_, - TdCreateObjectMessageSendOptions(false, false, true, NULL), + td_send(TdCreateObjectSendMessage(msg->chat_id_, /* chat_id */ + 0, /* message_thread_id */ + (struct TdMessageReplyTo *) TdCreateObjectMessageReplyToMessage(msg->chat_id_, msg->id_), /* reply_to */ + TdCreateObjectMessageSendOptions( + false, /* disable_notification */ + false, /* from_background */ + true, /*protect_content */ + false, /* update_order_of_installed_sticker_sets */ + NULL, /* scheduling_state */ + 0 /* sending_id */ + ), NULL, (struct TdInputMessageContent *) TdCreateObjectInputMessageText( |