Skip to content

toggleSupergroupSignMessages

Sahri Riza Umami edited this page Jun 23, 2018 · 1 revision

Toggles sender signatures messages sent in a channel; requires appropriate administrator rights in the channel.

toggleSupergroupSignMessages(supergroup_id, sign_messages, callback, data)
Field Type Description
supergroup_id int32 Identifier of the channel.
sign_messages Bool New value of sign_messages.

Example

  • Toggles on sender signatures messages sent in channel 1234567890.

    toggleSupergroupSignMessages(1234567890, 1)

    Response:

    {
      ["@type"] = "ok"
    }
  • Toggles off sender signatures messages sent in channel 1234567890.

    toggleSupergroupSignMessages(1234567890, 0)

    Response:

    {
      ["@type"] = "ok"
    }

Frequently Asked Questions
The Functions

Clone this wiki locally