teleproto - v1.229.0
    Preparing search index...

    Interface EditBannedParams

    Restrictions to apply with TelegramClient.editBanned. Every unset right stays allowed.

    interface EditBannedParams {
        changeInfo?: boolean;
        editRank?: boolean;
        embedLinks?: boolean;
        inviteUsers?: boolean;
        manageLinkedPeers?: boolean;
        manageTopics?: boolean;
        pinMessages?: boolean;
        sendAudios?: boolean;
        sendDocs?: boolean;
        sendGames?: boolean;
        sendGifs?: boolean;
        sendInline?: boolean;
        sendMedia?: boolean;
        sendMessages?: boolean;
        sendPhotos?: boolean;
        sendPlain?: boolean;
        sendPolls?: boolean;
        sendReactions?: boolean;
        sendRoundvideos?: boolean;
        sendStickers?: boolean;
        sendVideos?: boolean;
        sendVoices?: boolean;
        untilDate?: number | Date;
        viewMessages?: boolean;
    }
    Index
    changeInfo?: boolean

    Disallow changing the chat info.

    editRank?: boolean

    Disallow changing own rank.

    embedLinks?: boolean

    Disallow embedding link previews.

    inviteUsers?: boolean

    Disallow inviting users.

    manageLinkedPeers?: boolean

    Disallow managing linked peers.

    manageTopics?: boolean

    Disallow managing forum topics.

    pinMessages?: boolean

    Disallow pinning messages.

    sendAudios?: boolean

    Disallow sending audio files.

    sendDocs?: boolean

    Disallow sending documents.

    sendGames?: boolean

    Disallow sending games.

    sendGifs?: boolean

    Disallow sending GIFs.

    sendInline?: boolean

    Disallow using inline bots.

    sendMedia?: boolean

    Disallow sending any media.

    sendMessages?: boolean

    Disallow sending messages of any kind.

    sendPhotos?: boolean

    Disallow sending photos.

    sendPlain?: boolean

    Disallow sending plain text messages.

    sendPolls?: boolean

    Disallow sending polls.

    sendReactions?: boolean

    Disallow sending reactions.

    sendRoundvideos?: boolean

    Disallow sending round videos.

    sendStickers?: boolean

    Disallow sending stickers.

    sendVideos?: boolean

    Disallow sending videos.

    sendVoices?: boolean

    Disallow sending voice messages.

    untilDate?: number | Date

    Until when the restrictions apply. Defaults to forever.

    viewMessages?: boolean

    Disallow viewing messages (a full ban — kicks the participant).