1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 00:46:56 +01:00
MadelineProto/docs/TD_docs/methods/toggleChannelSignMessages.md

24 lines
764 B
Markdown
Raw Normal View History

---
title: toggleChannelSignMessages
description: Enables or disables sender signature on sent messages in the channel. Needs creator privileges in the channel. Not available for supergroups
---
## Method: toggleChannelSignMessages
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Enables or disables sender signature on sent messages in the channel. Needs creator privileges in the channel. Not available for supergroups
### Params:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|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)