messageActionStarGiftUnique
messageActionStarGiftUnique
Section titled “messageActionStarGiftUnique”No description provided by the pinned schema.
Signature
Section titled “Signature”messageActionStarGiftUnique#e6c31522 flags:# upgrade:flags.0?true transferred:flags.1?true saved:flags.2?true refunded:flags.5?true prepaid_upgrade:flags.11?true assigned:flags.13?true from_offer:flags.14?true craft:flags.16?true gift:StarGift can_export_at:flags.3?int transfer_stars:flags.4?long from_id:flags.6?Peer peer:flags.7?Peer saved_id:flags.7?long resale_amount:flags.8?StarsAmount can_transfer_at:flags.9?int can_resell_at:flags.10?int drop_original_details_stars:flags.12?long can_craft_at:flags.15?int = 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. |
| upgrade | flags.0?true | flags.0 | — | No description provided by the pinned schema. |
| transferred | flags.1?true | flags.1 | — | No description provided by the pinned schema. |
| saved | flags.2?true | flags.2 | — | No description provided by the pinned schema. |
| refunded | flags.5?true | flags.5 | — | No description provided by the pinned schema. |
| prepaid_upgrade | flags.11?true | flags.11 | — | No description provided by the pinned schema. |
| assigned | flags.13?true | flags.13 | — | No description provided by the pinned schema. |
| from_offer | flags.14?true | flags.14 | — | No description provided by the pinned schema. |
| craft | flags.16?true | flags.16 | — | No description provided by the pinned schema. |
| gift | StarGift | — | — | No description provided by the pinned schema. |
| can_export_at | flags.3?int | flags.3 | — | No description provided by the pinned schema. |
| transfer_stars | flags.4?long | flags.4 | — | No description provided by the pinned schema. |
| from_id | flags.6?Peer | flags.6 | — | No description provided by the pinned schema. |
| peer | flags.7?Peer | flags.7 | — | No description provided by the pinned schema. |
| saved_id | flags.7?long | flags.7 | — | No description provided by the pinned schema. |
| resale_amount | flags.8?StarsAmount | flags.8 | — | No description provided by the pinned schema. |
| can_transfer_at | flags.9?int | flags.9 | — | No description provided by the pinned schema. |
| can_resell_at | flags.10?int | flags.10 | — | No description provided by the pinned schema. |
| drop_original_details_stars | flags.12?long | flags.12 | — | No description provided by the pinned schema. |
| can_craft_at | flags.15?int | flags.15 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| upgrade | 0 | Controlled by flags; present when this bit is set. |
| transferred | 1 | Controlled by flags; present when this bit is set. |
| saved | 2 | Controlled by flags; present when this bit is set. |
| refunded | 5 | Controlled by flags; present when this bit is set. |
| prepaid_upgrade | 11 | Controlled by flags; present when this bit is set. |
| assigned | 13 | Controlled by flags; present when this bit is set. |
| from_offer | 14 | Controlled by flags; present when this bit is set. |
| craft | 16 | Controlled by flags; present when this bit is set. |
| can_export_at | 3 | Controlled by flags; present when this bit is set. |
| transfer_stars | 4 | Controlled by flags; present when this bit is set. |
| from_id | 6 | Controlled by flags; present when this bit is set. |
| peer | 7 | Controlled by flags; present when this bit is set. |
| saved_id | 7 | Controlled by flags; present when this bit is set. |
| resale_amount | 8 | Controlled by flags; present when this bit is set. |
| can_transfer_at | 9 | Controlled by flags; present when this bit is set. |
| can_resell_at | 10 | Controlled by flags; present when this bit is set. |
| drop_original_details_stars | 12 | Controlled by flags; present when this bit is set. |
| can_craft_at | 15 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import MessageActionStarGiftUniquePublic access: miniproto.raw.types.MessageActionStarGiftUnique.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import MessageActionStarGiftUnique
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = MessageActionStarGiftUniqueResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
MessageAction - Related constructors:
messageActionBoostApply,messageActionBotAllowed,messageActionChangeCommunity,messageActionChangeCreator,messageActionChannelCreate,messageActionChannelMigrateFrom,messageActionChatAddUser,messageActionChatCreate,messageActionChatDeletePhoto,messageActionChatDeleteUser,messageActionChatEditPhoto,messageActionChatEditTitle,messageActionChatJoinedByLink,messageActionChatJoinedByRequest,messageActionChatMigrateTo,messageActionConferenceCall,messageActionContactSignUp,messageActionCustomAction,messageActionEmpty,messageActionGameScore,messageActionGeoProximityReached,messageActionGiftCode,messageActionGiftPremium,messageActionGiftStars,messageActionGiftTon,messageActionGiveawayLaunch,messageActionGiveawayResults,messageActionGroupCall,messageActionGroupCallScheduled,messageActionHistoryClear,messageActionInviteToGroupCall,messageActionManagedBotCreated,messageActionNewCreatorPending,messageActionNoForwardsRequest,messageActionNoForwardsToggle,messageActionPaidMessagesPrice,messageActionPaidMessagesRefunded,messageActionPaymentRefunded,messageActionPaymentSent,messageActionPaymentSentMe,messageActionPhoneCall,messageActionPinMessage,messageActionPollAppendAnswer,messageActionPollDeleteAnswer,messageActionPrizeStars,messageActionRequestedPeer,messageActionRequestedPeerSentMe,messageActionScreenshotTaken,messageActionSecureValuesSent,messageActionSecureValuesSentMe,messageActionSetChatTheme,messageActionSetChatWallPaper,messageActionSetMessagesTTL,messageActionStarGift,messageActionStarGiftPurchaseOffer,messageActionStarGiftPurchaseOfferDeclined,messageActionSuggestBirthday,messageActionSuggestProfilePhoto,messageActionSuggestedPostApproval,messageActionSuggestedPostRefund,messageActionSuggestedPostSuccess,messageActionTodoAppendTasks,messageActionTodoCompletions,messageActionTopicCreate,messageActionTopicEdit,messageActionWebViewDataSent,messageActionWebViewDataSentMe - Accepted by:
messageService
Provenance
Section titled “Provenance”- layer: 228
- 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 228 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=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
- tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery