Layer 220
StarGiftAttributeOriginalDetails
Info about the sender, receiver and message attached to the original gift, before it was upgraded to a collectible gift.
constructor
starGiftAttributeOriginalDetails#e0bff26c flags:# sender_id:flags.0?Peer recipient_id:Peer date:int message:flags.1?TextWithEntities = StarGiftAttribute;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| SenderId | flags.0?Peer | Original sender of the gift, absent if the gift was private. |
| RecipientId | Peer | Original receiver of the gift. |
| Date | int | When was the gift sent. |
| Message | flags.1?TextWithEntities | Original message attached to the gift, if present. |
Returns
StarGiftAttributeGogram Example
// Creating StarGiftAttributeOriginalDetails constructor obj := &tg.StarGiftAttributeOriginalDetails{ RecipientId: &tg.Peer{}, Date: 0, // Optional fields: // SenderId: &tg.Peer{}, // Message: &tg.TextWithEntities{}, }