messageActionGiftCode#31c48347 flags:# via_giveaway:flags.0?true unclaimed:flags.5?true boost_peer:flags.1?Peer days:int slug:string currency:flags.2?string amount:flags.2?long crypto_currency:flags.3?string crypto_amount:flags.3?long message:flags.4?TextWithEntities = MessageAction;
Parameters
| Name | Type | Description |
| flags |
# |
Bit mask: a field written flags.N?T is present only when bit N is set. |
| via_giveaway |
flags.0?true |
|
| unclaimed |
flags.5?true |
|
| boost_peer |
flags.1?Peer |
|
| days |
int |
|
| slug |
string |
Short address used in the link. |
| currency |
flags.2?string |
Currency, three-letter code. |
| amount |
flags.2?long |
Amount. |
| crypto_currency |
flags.3?string |
|
| crypto_amount |
flags.3?long |
|
| message |
flags.4?TextWithEntities |
Message text. |
Type
MessageAction
Related pages
Types used here