Link Search Menu Expand Document

Constructor: missingInvitee

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
premium_would_allow_inviteBoolOptionalIf 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_pmBoolOptionalIf 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_idlongYesID 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

Example:

$missingInvitee = ['_' => 'missingInvitee', 'premium_would_allow_invite' => Bool, 'premium_required_for_pm' => Bool, 'user_id' => long];