Class DMChannel

Hierarchy

Constructors

Properties

client: Client<true>
flags: Readonly<ChannelFlagsBitField>
id: string
lastMessage: null | Message<boolean>
lastMessageId: null | string
lastPinAt: null | Date
lastPinTimestamp: null | number
recipientId: string
type: DM

Accessors

  • get createdAt(): null | Date
  • Returns null | Date

  • get createdTimestamp(): null | number
  • Returns null | number

  • get partial(): false
  • Returns false

  • get recipient(): null | User
  • Returns null | User

  • get url(): string
  • Returns string

Methods

  • Parameters

    • Optional force: boolean

    Returns Promise<DMChannel>

  • Returns Promise<void>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns `<@${string}>`

  • Returns string

Generated using TypeDoc