Layer 227
method Users
channels.toggleSignatures#418d549c flags:# signatures_enabled:flags.0?true profiles_enabled:flags.1?true channel:InputChannel = Updates;

Parameters

Name Type Description
SignaturesEnabled flags .0? true If set, enables message signatures.
ProfilesEnabled 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

Returns

Updates

Gogram Example

// ChannelsToggleSignatures - positional arguments
result, err := client.ChannelsToggleSignatures(nil, nil, &tg.InputChannel{ChannelID: int64(1234567890), AccessHash: int64(5678901234567890)})
if err != nil {
    // handle error
}
// result is *tg.Updates

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.