payments.uniqueStarGift #

Represents a collectible gift ».

Layer 223

payments.uniqueStarGift#416c56e8 gift:StarGift chats:Vector<Chat> users:Vector<User> = payments.UniqueStarGift;

Parameters #

NameTypeDescription
giftStarGiftThe starGiftUnique constructor.
chatsVector<Chat>Chats mentioned in the gift field.
usersVector<User>Users mentioned in the gift field.

Type #

payments.UniqueStarGift

starGiftUnique #

Represents a collectible star gift, see here » for more info.

The sticker that represents the gift is contained in a starGiftAttributeModel object in attributes.

Telegram Gifts #

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.