starsTransaction
Signature
Section titled “Signature”starsTransaction#13659eb0 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true stargift_upgrade:flags.18?true business_transfer:flags.21?true stargift_resale:flags.22?true posts_search:flags.24?true stargift_prepaid_upgrade:flags.25?true stargift_drop_original_details:flags.26?true phonegroup_message:flags.27?true stargift_auction_bid:flags.28?true offer:flags.29?true id:string amount:StarsAmount date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift floodskip_number:flags.15?int starref_commission_permille:flags.16?int starref_peer:flags.17?Peer starref_amount:flags.17?StarsAmount paid_messages:flags.19?int premium_gift_months:flags.20?int ads_proceeds_from_date:flags.23?int ads_proceeds_to_date:flags.23?int = StarsTransaction;Result type
Section titled “Result type”StarsTransaction
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| refund | flags.3?true | flags.3 | — | |
| pending | flags.4?true | flags.4 | — | |
| failed | flags.6?true | flags.6 | — | |
| gift | flags.10?true | flags.10 | — | |
| reaction | flags.11?true | flags.11 | — | |
| stargift_upgrade | flags.18?true | flags.18 | — | |
| business_transfer | flags.21?true | flags.21 | — | |
| stargift_resale | flags.22?true | flags.22 | — | |
| posts_search | flags.24?true | flags.24 | — | |
| stargift_prepaid_upgrade | flags.25?true | flags.25 | — | |
| stargift_drop_original_details | flags.26?true | flags.26 | — | |
| phonegroup_message | flags.27?true | flags.27 | — | |
| stargift_auction_bid | flags.28?true | flags.28 | — | |
| offer | flags.29?true | flags.29 | — | |
| id | string | — | — | |
| amount | StarsAmount | — | — | |
| date | int | — | — | |
| peer | StarsTransactionPeer | — | — | |
| title | flags.0?string | flags.0 | — | |
| description | flags.1?string | flags.1 | — | |
| photo | flags.2?WebDocument | flags.2 | — | |
| transaction_date | flags.5?int | flags.5 | — | |
| transaction_url | flags.5?string | flags.5 | — | |
| bot_payload | flags.7?bytes | flags.7 | — | |
| msg_id | flags.8?int | flags.8 | — | |
| extended_media | flags.9?Vector |
flags.9 | — | |
| subscription_period | flags.12?int | flags.12 | — | |
| giveaway_post_id | flags.13?int | flags.13 | — | |
| stargift | flags.14?StarGift | flags.14 | — | |
| floodskip_number | flags.15?int | flags.15 | — | |
| starref_commission_permille | flags.16?int | flags.16 | — | |
| starref_peer | flags.17?Peer | flags.17 | — | |
| starref_amount | flags.17?StarsAmount | flags.17 | — | |
| paid_messages | flags.19?int | flags.19 | — | |
| premium_gift_months | flags.20?int | flags.20 | — | |
| ads_proceeds_from_date | flags.23?int | flags.23 | — | |
| ads_proceeds_to_date | flags.23?int | flags.23 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| refund | 3 | Controlled by flags; present when this bit is set. |
| pending | 4 | Controlled by flags; present when this bit is set. |
| failed | 6 | Controlled by flags; present when this bit is set. |
| gift | 10 | Controlled by flags; present when this bit is set. |
| reaction | 11 | Controlled by flags; present when this bit is set. |
| stargift_upgrade | 18 | Controlled by flags; present when this bit is set. |
| business_transfer | 21 | Controlled by flags; present when this bit is set. |
| stargift_resale | 22 | Controlled by flags; present when this bit is set. |
| posts_search | 24 | Controlled by flags; present when this bit is set. |
| stargift_prepaid_upgrade | 25 | Controlled by flags; present when this bit is set. |
| stargift_drop_original_details | 26 | Controlled by flags; present when this bit is set. |
| phonegroup_message | 27 | Controlled by flags; present when this bit is set. |
| stargift_auction_bid | 28 | Controlled by flags; present when this bit is set. |
| offer | 29 | Controlled by flags; present when this bit is set. |
| title | 0 | Controlled by flags; present when this bit is set. |
| description | 1 | Controlled by flags; present when this bit is set. |
| photo | 2 | Controlled by flags; present when this bit is set. |
| transaction_date | 5 | Controlled by flags; present when this bit is set. |
| transaction_url | 5 | Controlled by flags; present when this bit is set. |
| bot_payload | 7 | Controlled by flags; present when this bit is set. |
| msg_id | 8 | Controlled by flags; present when this bit is set. |
| extended_media | 9 | Controlled by flags; present when this bit is set. |
| subscription_period | 12 | Controlled by flags; present when this bit is set. |
| giveaway_post_id | 13 | Controlled by flags; present when this bit is set. |
| stargift | 14 | Controlled by flags; present when this bit is set. |
| floodskip_number | 15 | Controlled by flags; present when this bit is set. |
| starref_commission_permille | 16 | Controlled by flags; present when this bit is set. |
| starref_peer | 17 | Controlled by flags; present when this bit is set. |
| starref_amount | 17 | Controlled by flags; present when this bit is set. |
| paid_messages | 19 | Controlled by flags; present when this bit is set. |
| premium_gift_months | 20 | Controlled by flags; present when this bit is set. |
| ads_proceeds_from_date | 23 | Controlled by flags; present when this bit is set. |
| ads_proceeds_to_date | 23 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import StarsTransactionPublic access: miniproto.raw.types.StarsTransaction.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
StarsTransaction - Accepted by:
payments.starsStatus