Type alias EditThreadData

EditThreadData: {
    archived?: boolean;
    auto_archive_duration?: number;
    invitable?: boolean;
    locked?: boolean;
    name?: string;
    rate_limit_per_user?: number;
}

Type declaration

  • Optional archived?: boolean

    If the thread should be archived

  • Optional auto_archive_duration?: number

    how long until the thread is automatically archived from the last message

  • Optional invitable?: boolean

    If only the thread creator can invite people or not

  • Optional locked?: boolean

    If the thread should be locked

  • Optional name?: string

    The new name of the thread

  • Optional rate_limit_per_user?: number

    amount of seconds a user has to wait before sending another message (0-21600). bots, as well as users with the permission MANAGE_MESSAGES or MANAGE_CHANNEL, are unaffected

Generated using TypeDoc