MadelineProtoDocs/docs/TD_docs/methods/toggleChannelSignMessages.md

25 lines
845 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
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# 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
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|channel\_id|[int](../types/int.md) | Identifier of the channel | Yes|
|sign\_messages|[Bool](../types/Bool.md) | New value of sign_messages | Yes|
### Return type: [Ok](../types/Ok.md)