Hi , what is the methods that bans a user

along with all his sent messages ?

12 ответов

29 просмотров

bot api or mtproto?

𝘼𝙗𝙙𝙤-🧢 Автор вопроса
𝘼𝙗𝙙𝙤 🧢
bot api

To my knowledge there is no such method for the bot api

𝘼𝙗𝙙𝙤-🧢 Автор вопроса
Яico X
To my knowledge there is no such method for the bo...

that's unfortunate , is there an alternative way i can use ? like get all the user messages and use the delete method

Яico X
To my knowledge there is no such method for the bo...

Okay, I was wrong. Check https://core.telegram.org/bots/api#banchatmember >revoke_messages

𝘼𝙗𝙙𝙤-🧢 Автор вопроса
Яico X
Okay, I was wrong. Check https://core.telegram.org...

according to the description .. revoke messages means that the user cannot read the previous sent messages

𝘼𝙗𝙙𝙤 🧢
according to the description .. revoke messages me...

Huh? "Pass True to delete all messages from the chat for the user that is being removed. "

𝘼𝙗𝙙𝙤-🧢 Автор вопроса
Яico X
Huh? "Pass True to delete all messages from the c...

the default is true , i didn't specify it .. however all the messages doesn't got deleted

𝘼𝙗𝙙𝙤-🧢 Автор вопроса
Яico X
Is it a supergroup or an "old" regular group?

according to the updates it's a supergroup

𝘼𝙗𝙙𝙤 🧢
according to the updates it's a supergroup

Okay, then the "revoke" means if the user still got access to the messages or not.

𝘼𝙗𝙙𝙤-🧢 Автор вопроса
Яico X
Okay, then the "revoke" means if the user still go...

If False, the user will be able to see messages in the group that were sent before the user was removed.

Похожие вопросы

Карта сайта