Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/mod.ts>Api#setUserEmojiStatus

The Telegram Bot Framework.
Very Popular
Latest
method Api.prototype.setUserEmojiStatus
import { Api } from "https://deno.land/x/grammy@v1.32.0/mod.ts";

Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success.

Parameters

user_id: number

Unique identifier of the target user

optional
other: Other<R, "setUserEmojiStatus", "user_id">

Optional remaining parameters, confer the official reference below

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#setuseremojistatus