Enable/disable message signatures in channels
Method schema is available as of layer 186. Switch ยป
Parameters
| Name |
Type |
Description |
| flags |
# |
Flags, see TL conditional fields |
| signatures_enabled |
flags.0?true |
If set, enables message signatures. |
| profiles_enabled |
flags.1?true |
If set, messages from channel admins will link to their profiles, just like for group messages: can only be set if the signatures_enabled flag is set. |
| channel |
InputChannel |
Channel |
Result
Updates
Only users can use this method
Possible errors
| Code |
Type |
Description |
| 400 |
CHANNEL_INVALID |
The provided channel is invalid. |
| 400 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
| 400 |
CHAT_ID_INVALID |
The provided chat id is invalid. |
| 400 |
CHAT_NOT_MODIFIED |
No changes were made to chat information because the new information you passed is identical to the current information. |