UserGift

A gift claimed by a user.

Properties

date: Date

The time when the gift was claimed.

gift: Gift

The gift.

public: boolean

Whether the gift is publicly visible.

fromUser?: User

The user who sent the gift.

message?: string

A message shared when the gift was sent.

entities?: MessageEntity[]

The entities of the message.

messageId?: number

The identifier of the service message announcing the receival of the gift.

convertionStars?: number

The amount of stars the gift would be worth.