enableSignatures

Enable post signatures in a channel. USER-ONLY

Parameters

chatId: ID

The identifier of the channel.

showAuthorProfile?: boolean

Whether author profiles should be shown in posts.

Result

void

Syntax

// Required parameters only.
await client.enableSignatures(chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.enableSignatures(chatId, { showAuthorProfile });