summaryrefslogtreecommitdiff
path: root/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'stat.c')
-rw-r--r--stat.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/stat.c b/stat.c
index 0e5906f..8739600 100644
--- a/stat.c
+++ b/stat.c
@@ -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(