MessageActionStarGift#
- class pyrogram.raw.types.MessageActionStarGift#
You received a gift, see here for more info.
Constructor of
MessageAction
.- Details:
Layer:
211
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)refunded (
bool
, optional)can_upgrade (
bool
, optional)message (
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)upgrade_stars (
int
64-bit
, optional)from_id (
Peer
, optional)peer (
Peer
, optional)saved_id (
int
64-bit
, optional)