TDLib v0.0.2 TDLib.Method.ChangeChatReportSpamState View Source
Used to let the server know whether a chat is spam or not. Can be used only if ChatReportSpamState.can_report_spam is true. After this request, ChatReportSpamState.can_report_spam becomes false forever.
Returns object_ptr
Name | Type | Description |
---|---|---|
chat_id | string | Chat identifier. |
is_spam_chat | bool | If true, the chat will be reported as spam; otherwise it will be marked as not spam. |
More details on telegram’s documentation.