Interface FailedToAddMember

Contains information about a user that 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 subscription to Telegram Premium is required to send the user chat invite link.

premium_would_allow_invite?: boolean

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

user_id: number

User identifier.