MadelineProto/docs/TD_docs/methods/toggleChannelSignMessages.md
2017-08-25 15:05:53 +02:00

24 lines
764 B
Markdown

---
title: toggleChannelSignMessages
description: Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups
---
## Method: toggleChannelSignMessages
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[int](../types/int.md) | Yes|Identifier of the channel|
|sign\_messages|[Bool](../types/Bool.md) | Yes|New value of sign_messages|
### Return type: [Ok](../types/Ok.md)