messageActionStarGiftOnchainOffer
messageActionStarGiftOnchainOffer
Section titled “messageActionStarGiftOnchainOffer”No description provided by the pinned schema.
Signature
Section titled “Signature”messageActionStarGiftOnchainOffer#444a6568 flags:# accepted:flags.0?true declined:flags.1?true cancelled:flags.2?true expired:flags.3?true settled:flags.6?true buyer:flags.7?true cancelling:flags.8?true offer_id:long gift:StarGift amount:long fee_bps:int expires_at:int offer_address:string buyer_refund:flags.4?long fine:flags.5?long = MessageAction;Result type
Section titled “Result type”MessageAction
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | No description provided by the pinned schema. |
| accepted | flags.0?true | flags.0 | — | No description provided by the pinned schema. |
| declined | flags.1?true | flags.1 | — | No description provided by the pinned schema. |
| cancelled | flags.2?true | flags.2 | — | No description provided by the pinned schema. |
| expired | flags.3?true | flags.3 | — | No description provided by the pinned schema. |
| settled | flags.6?true | flags.6 | — | No description provided by the pinned schema. |
| buyer | flags.7?true | flags.7 | — | No description provided by the pinned schema. |
| cancelling | flags.8?true | flags.8 | — | No description provided by the pinned schema. |
| offer_id | long | — | — | No description provided by the pinned schema. |
| gift | StarGift | — | — | No description provided by the pinned schema. |
| amount | long | — | — | No description provided by the pinned schema. |
| fee_bps | int | — | — | No description provided by the pinned schema. |
| expires_at | int | — | — | No description provided by the pinned schema. |
| offer_address | string | — | — | No description provided by the pinned schema. |
| buyer_refund | flags.4?long | flags.4 | — | No description provided by the pinned schema. |
| fine | flags.5?long | flags.5 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| accepted | 0 | Controlled by flags; present when this bit is set. |
| declined | 1 | Controlled by flags; present when this bit is set. |
| cancelled | 2 | Controlled by flags; present when this bit is set. |
| expired | 3 | Controlled by flags; present when this bit is set. |
| settled | 6 | Controlled by flags; present when this bit is set. |
| buyer | 7 | Controlled by flags; present when this bit is set. |
| cancelling | 8 | Controlled by flags; present when this bit is set. |
| buyer_refund | 4 | Controlled by flags; present when this bit is set. |
| fine | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import MessageActionStarGiftOnchainOfferPublic access: miniproto.raw.types.MessageActionStarGiftOnchainOffer.
Class reference
Section titled “Class reference”from miniproto.raw.types import MessageActionStarGiftOnchainOffer
# Refer to the raw constructor class without constructing it or calling Telegramconstructor_type = MessageActionStarGiftOnchainOfferResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
MessageAction - Related constructors:
messageActionBoostApply,messageActionBotAllowed,messageActionBotInvite,messageActionChangeCommunity,messageActionChangeCreator,messageActionChannelCreate,messageActionChannelMigrateFrom,messageActionChatAddUser,messageActionChatCreate,messageActionChatDeletePhoto,messageActionChatDeleteUser,messageActionChatEditPhoto,messageActionChatEditTitle,messageActionChatJoinedByLink,messageActionChatJoinedByRequest,messageActionChatJoinedViaCommunity,messageActionChatMigrateTo,messageActionConferenceCall,messageActionContactSignUp,messageActionCustomAction,messageActionEmpty,messageActionGameScore,messageActionGeoProximityReached,messageActionGiftCode,messageActionGiftPremium,messageActionGiftStars,messageActionGiftTon,messageActionGiveawayLaunch,messageActionGiveawayResults,messageActionGramTransfer,messageActionGroupCall,messageActionGroupCallScheduled,messageActionHistoryClear,messageActionInviteToGroupCall,messageActionManagedBotCreated,messageActionNewCreatorPending,messageActionNoForwardsRequest,messageActionNoForwardsToggle,messageActionNoPaidMessagesTokenUsed,messageActionPaidMessagesPrice,messageActionPaidMessagesRefunded,messageActionPaymentRefunded,messageActionPaymentSent,messageActionPaymentSentMe,messageActionPhoneCall,messageActionPinMessage,messageActionPollAppendAnswer,messageActionPollDeleteAnswer,messageActionPrizeStars,messageActionRequestedPeer,messageActionRequestedPeerSentMe,messageActionScreenshotTaken,messageActionSecureValuesSent,messageActionSecureValuesSentMe,messageActionSetChatTheme,messageActionSetChatWallPaper,messageActionSetMessagesTTL,messageActionStarGift,messageActionStarGiftPurchaseOffer,messageActionStarGiftPurchaseOfferDeclined,messageActionStarGiftUnique,messageActionSuggestBirthday,messageActionSuggestProfilePhoto,messageActionSuggestedPostApproval,messageActionSuggestedPostRefund,messageActionSuggestedPostSuccess,messageActionTodoAppendTasks,messageActionTodoCompletions,messageActionTopicCreate,messageActionTopicEdit,messageActionWalletTonConnectRequest,messageActionWebViewDataSent,messageActionWebViewDataSentMe - Accepted by:
messageService
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