Module

x/grammy/types.web.ts>InputSticker

The Telegram Bot Framework.
Very Popular
Go to Latest
interface InputSticker
import { type InputSticker } from "https://dotland.deno.dev/x/grammy@v1.22.4/types.web.ts";

This object describes a sticker to be added to a sticker set.

Properties

sticker: F | string

The added sticker. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. Animated and video stickers can't be uploaded via HTTP URL.

format: "static" | "animated" | "video"

Format of the added sticker, must be one of “static” for a .WEBP or .PNG image, “animated” for a .TGS animation, “video” for a WEBM video

emoji_list: string[]

List of 1-20 emoji associated with the sticker

optional
mask_position: MaskPosition

Position where the mask should be placed on faces. For “mask” stickers only.

optional
keywords: string[]

List of 0-20 search keywords for the sticker with total length of up to 64 characters. For “regular” and “custom_emoji” stickers only.

type alias InputSticker
import { type InputSticker } from "https://dotland.deno.dev/x/grammy@v1.22.4/types.web.ts";

This object describes a sticker to be added to a sticker set.