MessageGiftedPremium¶
Telegram Premium was gifted to a user
MessageGiftedPremium(
gifter_user_id: int53,
receiver_user_id: int53,
text: FormattedText,
currency: string,
amount: int53,
cryptocurrency: string,
cryptocurrency_amount: int64,
month_count: int32,
day_count: int32,
sticker: Sticker
) → MessageContent
gifter_user_id¶
int53
The identifier of a user who gifted Telegram Premium; 0 if the gift was anonymous or is outgoing
receiver_user_id¶
int53
The identifier of a user who received Telegram Premium; 0 if the gift is incoming
text¶
Message added to the gifted Telegram Premium by the sender
currency¶
string
Currency for the paid amount
amount¶
int53
The paid amount, in the smallest units of the currency
cryptocurrency¶
string
Cryptocurrency used to pay for the gift; may be empty if none
cryptocurrency_amount¶
int64
The paid amount, in the smallest units of the cryptocurrency; 0 if none
month_count¶
int32
Number of months the Telegram Premium subscription will be active after code activation; 0 if the number of months isn't integer
day_count¶
int32
Number of days the Telegram Premium subscription will be active
sticker¶
A sticker to be shown in the message; may be null if unknown