Class GroupChannel

Represents a group direct message.

Hierarchy

Accessors

  • get mention(): string
  • A string that will mention this channel.

    Returns string

Constructors

Methods

  • The url of this application's icon.

    Parameters

    • Optional format: "jpg" | "jpeg" | "png" | "webp" | "gif"

      The format the url should be.

    • Optional size: number

      The dimensions of the image.

    Returns null | string

Properties

application?: ClientApplication

The application that made this group channel.

applicationID: string

The ID of the application that made this group channel.

icon: null | string

The icon hash of this group, if any.

id: string
lastMessageID: null | string

The ID of last message sent in this channel.

managed: boolean

If this group channel is managed by an application.

name: null | string

The name of this group channel.

nicks: Record<"id" | "nick", string>[]

The nicknames used when creating this group channel.

owner?: User

The owner of this group channel.

ownerID: string

The ID of the owner of this group channel.

recipients: TypedCollection<RawUser, User, []>

The other recipients in this group channel.

type: GROUP_DM

The type of this channel.