setChannelEmojiStatus

Set the emoji status of a channel. USER-ONLY

Parameters

chatId: ID

The identifier of a channel.

emojiStatus: InputEmojiStatus

The emoji or gift to set as the new emoji status.

until?: number

If specified, the emoji status will be unset in that date.

Result

void

Syntax

// Required parameters only.
await client.setChannelEmojiStatus(chatId, emojiStatus);

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