setUserEmojiStatus
Set the emoji status of a bot’s user. BOT-ONLY
Parameters
The identifier of a user of the bot.
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.setUserEmojiStatus(userId, emojiStatus);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setUserEmojiStatus(userId, emojiStatus, { until });