Skip to content

premiumGiftCodeOption

No description provided by the pinned schema.

premiumGiftCodeOption#257e962b flags:# users:int months:int store_product:flags.0?string store_quantity:flags.1?int currency:string amount:long = PremiumGiftCodeOption;

PremiumGiftCodeOption

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
users int — — No description provided by the pinned schema.
months int — — No description provided by the pinned schema.
store_product flags.0?string flags.0 — No description provided by the pinned schema.
store_quantity flags.1?int flags.1 — No description provided by the pinned schema.
currency string — — No description provided by the pinned schema.
amount long — — No description provided by the pinned schema.
Parameter Bit Meaning
store_product 0 Controlled by flags; present when this bit is set.
store_quantity 1 Controlled by flags; present when this bit is set.
from miniproto.raw.types import PremiumGiftCodeOption

Public access: miniproto.raw.types.PremiumGiftCodeOption.

from miniproto.raw.types import PremiumGiftCodeOption
# Refer to the raw constructor class without constructing it or calling Telegram
constructor_type = PremiumGiftCodeOption

PremiumGiftCodeOption

  • 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