Layer 220
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.

Gogram Example

// Creating StarGiftAttributeOriginalDetails constructor
obj := &tg.StarGiftAttributeOriginalDetails{
    RecipientId: &tg.Peer{},
    Date: 0,

    // Optional fields:
    // SenderId: &tg.Peer{},
    // Message: &tg.TextWithEntities{},
}