setSignaturesEnabled
Enable or disable post signatures in a channel. User-only.
Parameters
The identifier of a channel.
enabled: boolean
Whether post signatures should be enabled in the channel.
showAuthorProfile?: boolean
Whether author profiles should be shown in posts.
Result
void
Syntax
// Required parameters only.
await client.setSignaturesEnabled(chatId, enabled);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setSignaturesEnabled(chatId, enabled, { showAuthorProfile });