MessageActionStarGift#
- class pyrogram.raw.types.MessageActionStarGift#
You received a gift, see here » for more info.
Constructor of
MessageAction
.- Details:
Layer:
198
ID:
4717E8A4
- Parameters:
gift (
StarGift
) – Info about the giftname_hidden (
bool
, optional) – If set, the name of the sender of the gift will be hidden if the destination user decides to display the gift on their profilesaved (
bool
, optional) – Whether this gift was added to the destination user’s profile (may be toggled using payments.saveStarGift and fetched using payments.getUserStarGifts)converted (
bool
, optional) – Whether this gift was converted to Telegram Stars and cannot be displayed on the profile anymore.upgraded (
bool
, optional) – N/Arefunded (
bool
, optional) – N/Acan_upgrade (
bool
, optional) – N/Amessage (
TextWithEntities
, optional) – Additional message from the sender of the giftconvert_stars (
int
64-bit
, optional) – The receiver of this gift may convert it to this many Telegram Stars, instead of displaying it on their profile page.convert_stars will be equal to stars only if the gift was bought using recently bought Telegram Stars, otherwise it will be less than stars.upgrade_msg_id (
int
32-bit
, optional) – N/Aupgrade_stars (
int
64-bit
, optional) – N/Afrom_id (
Peer
, optional) – N/Apeer (
Peer
, optional) – N/Asaved_id (
int
64-bit
, optional) – N/A