telegram api constructor · layer 229 · #628c9224

missingInvitee

Info about why a specific user could not be invited ».

definition

missingInvitee#628c9224 flags:# premium_would_allow_invite:flags.0?true premium_required_for_pm:flags.1?true user_id:long = MissingInvitee;

parameters

nametypedescription
flags#Flags, see TL conditional fields
premium_would_allow_inviteflags.0?trueIf set, we could not add the user only because the current account needs to purchase a Telegram Premium subscription to complete the operation.
premium_required_for_pmflags.1?trueIf set, we could not add the user because of their privacy settings, and additionally, the current account needs to purchase a Telegram Premium subscription to directly share an invite link with the user via a private message.
user_idlongID of the user. If neither of the flags below are set, we could not add the user because of their privacy settings, and we can create and directly share an invite link with them using a normal message, instead.

type

MissingInvitee

history

present in layers 177–229

idlayers
#628c9224177–229