Interface ChatActionBarBotInvite

The chat is a private chat with a bot to which the current user was invited by another user. The chat can be reported as spam using the method reportChat with an empty option_id and message_ids; the user who sent the invitation will be reported. The bot can be blocked using the method setMessageSenderBlockList. Subtype of ChatActionBar.

interface ChatActionBarBotInvite {
    @type: "chatActionBarBotInvite";
    can_unarchive?: boolean;
    inviter_user_id: number;
    owner_user_id: number;
}

Properties

@type: "chatActionBarBotInvite"
can_unarchive?: boolean

If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings.

inviter_user_id: number

Identifier of the user who invited the current user to the bot.

owner_user_id: number

Identifier of the current owner of the bot; 0 if unknown.