Interface TargetChatTypes

Describes allowed types for the target chat.

interface TargetChatTypes {
    @type: "targetChatTypes";
    allow_bot_chats?: boolean;
    allow_channel_chats?: boolean;
    allow_group_chats?: boolean;
    allow_user_chats?: boolean;
}

Properties

@type: "targetChatTypes"
allow_bot_chats?: boolean

True, if private chats with other bots are allowed.

allow_channel_chats?: boolean

True, if channel chats are allowed.

allow_group_chats?: boolean

True, if basic group and supergroup chats are allowed.

allow_user_chats?: boolean

True, if private chats with ordinary users are allowed.