Commit 48c07091 authored by vvaltman's avatar vvaltman

Fixed chat_add_user query

parent aa4e46f8
...@@ -2940,7 +2940,7 @@ void tgl_do_get_suggested (void) { ...@@ -2940,7 +2940,7 @@ void tgl_do_get_suggested (void) {
static struct query_methods add_user_to_chat_methods = { static struct query_methods add_user_to_chat_methods = {
.on_answer = fwd_msg_on_answer, .on_answer = fwd_msg_on_answer,
.type = TYPE_TO_PARAM(message_action) .type = TYPE_TO_PARAM(messages_stated_message)
}; };
void tgl_do_add_user_to_chat (tgl_peer_id_t chat_id, tgl_peer_id_t id, int limit, void (*callback)(void *callback_extra, int success, struct tgl_message *M), void *callback_extra) { void tgl_do_add_user_to_chat (tgl_peer_id_t chat_id, tgl_peer_id_t id, int limit, void (*callback)(void *callback_extra, int success, struct tgl_message *M), void *callback_extra) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment