starsGiveawayOption
Signature
Section titled “Signature”starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true stars:long yearly_boosts:int store_product:flags.2?string currency:string amount:long winners:Vector<StarsGiveawayWinnersOption> = StarsGiveawayOption;Result type
Section titled “Result type”StarsGiveawayOption
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| extended | flags.0?true | flags.0 | — | |
| default | flags.1?true | flags.1 | — | |
| stars | long | — | — | |
| yearly_boosts | int | — | — | |
| store_product | flags.2?string | flags.2 | — | |
| currency | string | — | — | |
| amount | long | — | — | |
| winners | Vector |
— | — |
| Parameter | Bit | Meaning |
|---|---|---|
| extended | 0 | Controlled by flags; present when this bit is set. |
| default | 1 | Controlled by flags; present when this bit is set. |
| store_product | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import StarsGiveawayOptionPublic access: miniproto.raw.types.StarsGiveawayOption.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
StarsGiveawayOption - Returned by:
payments.getStarsGiveawayOptions