Interface IAddStickerToSetParams

Parameters for the addStickerToSet method

Hierarchy

  • IAddStickerToSetParams

Properties

emojis: string

One or more emoji corresponding to the sticker

mask_position?: IMaskPosition

A JSON-serialized object for position where the mask should be placed on faces

name: string

Sticker set name

png_sticker?: IInputFile

PNG image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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.

tgs_sticker?: IInputFile

TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements

user_id: number

User identifier of sticker set owner

webm_sticker?: IInputFile

WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements

Generated using TypeDoc