Interface FailedToAddMember

Contains information about a user who has failed to be added to a chat.

interface FailedToAddMember {
    @type: "failedToAddMember";
    premium_required_to_send_messages?: boolean;
    premium_would_allow_invite?: boolean;
    user_id: number;
}

Properties

@type: "failedToAddMember"
premium_required_to_send_messages?: boolean

True, if a subscription to Telegram Premium is required to send the user a chat invite link.

premium_would_allow_invite?: boolean

True, if a subscription to Telegram Premium would have allowed adding the user to the chat.

user_id: number

User identifier.