mwbot-ts - v1.2.7
    Preparing search index...

    Interface ApiResponseQueryListBlocks

    interface ApiResponseQueryListBlocks {
        allowusertalk?: boolean;
        anononly?: boolean;
        autoblock?: boolean;
        automatic?: boolean;
        by?: string;
        byid?: number;
        "duration-l10n"?: string;
        expiry?: string;
        hidden?: boolean;
        id?: number;
        nocreate?: boolean;
        noemail?: boolean;
        parsedreason?: string;
        partial?: boolean;
        rangeend?: string;
        rangestart?: string;
        reason?: string;
        restrictions?: [] | ApiResponseQueryListBlocksRestrictions;
        timestamp?: string;
        user?: string;
        userid?: number;
    }
    Index

    Properties

    allowusertalk?: boolean
    anononly?: boolean
    autoblock?: boolean
    automatic?: boolean
    by?: string
    byid?: number
    "duration-l10n"?: string
    expiry?: string
    hidden?: boolean
    id?: number
    nocreate?: boolean
    noemail?: boolean
    parsedreason?: string
    partial?: boolean
    rangeend?: string
    rangestart?: string
    reason?: string

    An empty array if the user is not partial-blocked; otherwise an object.

    timestamp?: string
    user?: string
    userid?: number