seyfert
    Preparing search index...

    Class ThreadOnlyMethods

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    client: UsingClient
    id: string
    type: ChannelType

    Accessors

    Methods

    • Type Parameters

      • T extends (keyof IChannelTypes)[]

      Parameters

      • channelTypes: T

      Returns this is IChannelTypes[T[number]]

    • Create a new thread.

      Parameters

      • body: ThreadOnlyCreateBodyRequest

        After name, at least one of the following properties must be provided: any content of message or files.

      • Optionalreason: string

        The reason for creating the thread, shows up on audit logs.

      Returns Promise<ThreadChannel>

      A promise that resolves with the created thread.