Link Search Menu Expand Document

Constructor: starGiftAttributeOriginalDetails

Back to constructors index

Info about the sender, receiver and message attached to the original gift », before it was upgraded to a collectible gift ».

Attributes:

NameTypeRequiredDescription
sender_idPeerOptionalOriginal sender of the gift, absent if the gift was private.
recipient_idPeerYesOriginal receiver of the gift.
dateintYesWhen was the gift sent.
messageTextWithEntitiesOptionalOriginal message attached to the gift, if present.

Type: StarGiftAttribute

Example:

$starGiftAttributeOriginalDetails = ['_' => 'starGiftAttributeOriginalDetails', 'sender_id' => Peer, 'recipient_id' => Peer, 'date' => int, 'message' => TextWithEntities];