Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GroupMessage

Hierarchy

Implements

  • GroupMessageInterface

Constructors

constructor

Properties

attachments

attachments: Attachment[]

channel

channel: Group

Readonly client

client: Client

createdAt

createdAt: number

Readonly id

id: string

likes

likes: (string | User)[]

sourceGuid

sourceGuid: string

system

system: boolean

text

text: null | string

user

user: User

Accessors

canDelete

  • get canDelete(): boolean
  • Returns boolean

Methods

_clone

  • _clone(): any
  • Returns any

_patch

  • _patch(data: Partial<APIGroupMessage | APIChatMessage>): GroupMessage
  • Parameters

    • data: Partial<APIGroupMessage | APIChatMessage>

    Returns GroupMessage

delete

  • delete(): Promise<void>
  • Returns Promise<void>

fetch

like

reply

  • Parameters

    • message: string

    Returns Promise<Message<Group>>

unlike

Generated using TypeDoc