FoxoChat.js Packages
    Preparing search index...

    Class Message

    API Message model.

    Hierarchy

    Index

    Constructors

    Properties

    attachments: Map<number, Attachment>

    The files attached to the message.

    author: Member

    The author of the message.

    channel: Channel

    The channel the message was sent in.

    client: Client

    The client that instantiated this Model.

    content: string

    The content of the message.

    createdAt: Date

    The time when message sent at.

    id: number

    The id of the model.

    Methods