Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 969 Bytes

sticker.md

File metadata and controls

22 lines (14 loc) · 969 Bytes

Stickers

Sticker

send sticker method sticker tests

Telegram stickers are fun and our bot is about to send its very first sticker. Sticker files should be in WebP format.

This code sends the same sticker twice. First by passing HTTP URL to a WebP sticker file and second by reusing FileId of the same sticker on Telegram servers.

{{#include ../../Examples/2/SendMessage.cs:send-sticker}}

sticker messages

Try inspecting the sticker1.Sticker property. It is of type [Sticker] and its schema looks similar to a photo.