payments.starGiftOnchainOfferTx
payments.starGiftOnchainOfferTx
Section titled “payments.starGiftOnchainOfferTx”No description provided by the pinned schema.
Signature
Section titled “Signature”payments.starGiftOnchainOfferTx#fe5681cf flags:# offer_id:long offer_address:string expires_at:int message:payments.StarGiftOnchainOfferTxMessage gasless_message:flags.3?payments.StarGiftOnchainOfferTxMessage rent_budget:flags.0?long execution_allowance:flags.0?long forward_amount:flags.1?long fine:flags.2?long = payments.StarGiftOnchainOfferTx;Result type
Section titled “Result type”payments.StarGiftOnchainOfferTx
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | No description provided by the pinned schema. |
| offer_id | long | — | — | No description provided by the pinned schema. |
| offer_address | string | — | — | No description provided by the pinned schema. |
| expires_at | int | — | — | No description provided by the pinned schema. |
| message | payments.StarGiftOnchainOfferTxMessage | — | — | No description provided by the pinned schema. |
| gasless_message | flags.3?payments.StarGiftOnchainOfferTxMessage | flags.3 | — | No description provided by the pinned schema. |
| rent_budget | flags.0?long | flags.0 | — | No description provided by the pinned schema. |
| execution_allowance | flags.0?long | flags.0 | — | No description provided by the pinned schema. |
| forward_amount | flags.1?long | flags.1 | — | No description provided by the pinned schema. |
| fine | flags.2?long | flags.2 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| gasless_message | 3 | Controlled by flags; present when this bit is set. |
| rent_budget | 0 | Controlled by flags; present when this bit is set. |
| execution_allowance | 0 | Controlled by flags; present when this bit is set. |
| forward_amount | 1 | Controlled by flags; present when this bit is set. |
| fine | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PaymentsStarGiftOnchainOfferTxPublic access: miniproto.raw.types.PaymentsStarGiftOnchainOfferTx.
Class reference
Section titled “Class reference”from miniproto.raw.types import PaymentsStarGiftOnchainOfferTx
# Refer to the raw constructor class without constructing it or calling Telegramconstructor_type = PaymentsStarGiftOnchainOfferTxResult family
Section titled “Result family”payments.StarGiftOnchainOfferTx
Relationships
Section titled “Relationships”- Result family:
payments.StarGiftOnchainOfferTx - Returned by:
payments.acceptStarGiftOnchainOffer,payments.cancelStarGiftOnchainOffer,payments.sendStarGiftOnchainOffer
Provenance
Section titled “Provenance”- structural source:
tdlib - canonical schema: https://raw.githubusercontent.com/tdlib/td/refs/heads/master/td/generate/scheme/telegram_api.tl
- prose merge precedence: TDLib → Telegram Desktop → Core JSON
- source note: Canonical structure is the pinned TDLib telegram_api.tl; Layer 234 comes only from the matching Telegram Desktop end-of-file marker; core.telegram.org inputs enrich documentation and RPC error metadata without overriding structure.
Source-diff notes
Section titled “Source-diff notes”- tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
- tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret