Layer 220
StarGiftAttribute
Abstract type representing one of 4 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.StarGiftAttribute interface.
Use any of the following constructors:
StarGiftAttributeModel
The model of a collectible gift.
StarGiftAttributePattern
A sticker applied on the backdrop of a collectible gift using a repeating pattern.
StarGiftAttributeBackdrop
The backdrop of a collectible gift.
StarGiftAttributeOriginalDetails
Info about the sender, receiver and message attached to the original gift, before it was upgraded
Gogram Example
// StarGiftAttribute is an interface type // You can use any of the following constructors: var _ tg.StarGiftAttribute = &tg.StarGiftAttributeModel{} var _ tg.StarGiftAttribute = &tg.StarGiftAttributePattern{} var _ tg.StarGiftAttribute = &tg.StarGiftAttributeBackdrop{} var _ tg.StarGiftAttribute = &tg.StarGiftAttributeOriginalDetails{}