Monday, 14 March 2022
  1 Replies
  1.3K Visits
  Subscribe
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.
2 years ago
·
#947
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
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf,pas,dfm,dpr,dproj,dpk
· Insert · Remove
  Upload Files (Maximum 10MB)