Skip to content

changeChatReportSpamState

Sahri Riza Umami edited this page Sep 10, 2017 · 3 revisions

Reports chat as a spam chat or as not a spam chat.
Can be used only if ChatReportSpamState.can_report_spam is true.
After this request ChatReportSpamState.can_report_spam became false forever.

changeChatReportSpamState(chat_id, is_spam_chat)
Field Type Description
chat_id int53 Chat identifier
is_spam_chat Bool If true, chat will be reported as a spam chat, otherwise it will be marked as not a spam chat

Frequently Asked Questions
The Functions

Clone this wiki locally