By VITALIY VOLKOV on Monday, 14 March 2022
Posted in General
Replies 1
Likes 0
Views 1.3K
Votes 0
Hello!

I use DoTDLibSend with command setChatMemberStatus for exclude user from telegram chat.

These links discuss how to call this command correctly:
1. https://github.com/tdlib/td/issues/1672
2. https://github.com/tdlib/td/issues/1640

My result JSON:
{"@type":"setChatMemberStatus","chat_id":-1001602686583,"member_id":{"@type":"messageSenderUser","user_id":510257258},"status":{"@type":"chatMemberStatusLeft"}}

But this not working. Please help my to make correct JSON.
Hi,

The JSON seems correct, which Telegram version are you using? maybe you are using a old tdlib version, try to download the latest version (1.8.1 from your account) and test again. Old versions doesn't support this feature.

Kind Regards,
Sergio
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post