Skip to content

getChatReportSpamState

Sahri Riza Umami edited this page Jun 24, 2018 · 3 revisions

Returns information on whether the current chat can be reported as spam.

getChatReportSpamState(chat_id, callback, data)
Field Type Description
chat_id int53 Chat identifier

Example

  • Get information on whether chat 1234567890 can be reported as spam.

    getChatReportSpamState(1234567890)

    Response:

    {
      ["@type"] = "chatReportSpamState",
      can_report_spam = false
    }  

Frequently Asked Questions
The Functions

Clone this wiki locally