Skip to content

starsSubscription

starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true bot_canceled:flags.7?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string title:flags.4?string photo:flags.5?WebDocument invoice_slug:flags.6?string = StarsSubscription;

StarsSubscription

Name Type Flag Default Description
flags # flag word —
canceled flags.0?true flags.0 —
can_refulfill flags.1?true flags.1 —
missing_balance flags.2?true flags.2 —
bot_canceled flags.7?true flags.7 —
id string — —
peer Peer — —
until_date int — —
pricing StarsSubscriptionPricing — —
chat_invite_hash flags.3?string flags.3 —
title flags.4?string flags.4 —
photo flags.5?WebDocument flags.5 —
invoice_slug flags.6?string flags.6 —
Parameter Bit Meaning
canceled 0 Controlled by flags; present when this bit is set.
can_refulfill 1 Controlled by flags; present when this bit is set.
missing_balance 2 Controlled by flags; present when this bit is set.
bot_canceled 7 Controlled by flags; present when this bit is set.
chat_invite_hash 3 Controlled by flags; present when this bit is set.
title 4 Controlled by flags; present when this bit is set.
photo 5 Controlled by flags; present when this bit is set.
invoice_slug 6 Controlled by flags; present when this bit is set.
from miniproto.raw.types import StarsSubscription

Public access: miniproto.raw.types.StarsSubscription.

StarsSubscription

Schema sources