payments.checkedGiftCode
Signature
Section titled “Signature”payments.checkedGiftCode#eb983f8f flags:# via_giveaway:flags.2?true from_id:flags.4?Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int days:int used_date:flags.1?int chats:Vector<Chat> users:Vector<User> = payments.CheckedGiftCode;Result type
Section titled “Result type”payments.CheckedGiftCode
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| via_giveaway | flags.2?true | flags.2 | — | |
| from_id | flags.4?Peer | flags.4 | — | |
| giveaway_msg_id | flags.3?int | flags.3 | — | |
| to_id | flags.0?long | flags.0 | — | |
| date | int | — | — | |
| days | int | — | — | |
| used_date | flags.1?int | flags.1 | — | |
| chats | Vector |
— | — | |
| users | Vector |
— | — |
| Parameter | Bit | Meaning |
|---|---|---|
| via_giveaway | 2 | Controlled by flags; present when this bit is set. |
| from_id | 4 | Controlled by flags; present when this bit is set. |
| giveaway_msg_id | 3 | Controlled by flags; present when this bit is set. |
| to_id | 0 | Controlled by flags; present when this bit is set. |
| used_date | 1 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PaymentsCheckedGiftCodePublic access: miniproto.raw.types.PaymentsCheckedGiftCode.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
payments.CheckedGiftCode - Returned by:
payments.checkGiftCode