Class ChannelManager

Hierarchy (View Summary, Expand)

Constructors

Properties

cache: Collection<string, Channel> = ...
client: Client

Methods

  • Archive a Guilded channel.

    Parameters

    • channelId: string

      The ID of the Guilded channel..

    Returns Promise<void>

  • Delete a Guilded channel.

    Parameters

    • channelId: string

      The ID of the Guilded channel..

    Returns Promise<void>

  • Get a Guilded channel.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • forced: boolean = false

      Whether to forcefully fetch the channel from the API, or first attempt to find it in the cache.

    Returns Promise<Channel>

    The channel.

  • Restore an archived Guilded channel.

    Parameters

    • channelId: string

      The ID of the Guilded channel..

    Returns Promise<void>

  • Update a Guilded channel.

    Parameters

    • channelId: string
    • data: UpdateChannelBody

      Channel data.

    Returns Promise<Channel>

    The channel.

MMNEPVFCICPMFPCPTTAAATR