MadelineProtoDocs/docs/TD_docs/methods/changeChatReportSpamState.md

1005 B

title description image
changeChatReportSpamState 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 https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: changeChatReportSpamState

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

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

Parameters:

Name Type Description Required
chat_id int53 Chat identifier Yes
is_spam_chat Bool If true, chat will be reported as a spam chat, otherwise it will be marked as not a spam chat Yes

Return type: Ok