Hi , what is the methods that bans a user

along with all his sent messages ?

english communication bottalk

12 ответов

bot api or mtproto?

abdo-🧢 Автор вопроса
abdo 🧢
bot api

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

abdo-🧢 Автор вопроса
Я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

abdo-🧢 Автор вопроса
Я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

abdo 🧢
according to the description .. revoke messages me...

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

abdo-🧢 Автор вопроса
Я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

abdo 🧢
the default is true , i didn't specify it .. howev...

Is it a supergroup or an "old" regular group?

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

according to the updates it's a supergroup

abdo 🧢
according to the updates it's a supergroup

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

abdo-🧢 Автор вопроса
Я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.

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