Skip to content

toggleChannelSignMessages

Sahri Riza Umami edited this page Mar 15, 2017 · 5 revisions

Enables or disables sender signature on sent messages in the channel.

toggleChannelInvites(channel_id, anyone_can_invite)

Needs creator privileges in the channel.
Not available for supergroups.

Option Description
channel_id Identifier of the channel.
sign_messages New value of sign_messages

Example

  • Enables sender signature on sent messages in the channel.

    toggleChannelInvites(1234567890, 1)
  • Disables sender signature on sent messages in the channel.

    toggleChannelInvites(1234567890, 0)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally