Interface PUTChannelMessageResponse

Hierarchy

  • PUTChannelMessageResponse

Properties

Properties

message: APIChatMessage | {
    channelId: string;
    content?: string;
    createdAt?: string;
    createdBy?: string;
    createdByWebhookId?: string;
    embeds?: APIEmbedOptions[];
    id?: string;
    isPrivate?: boolean;
    isSilent?: boolean;
    mentions?: APIMentions;
    replyMessageIds?: string[];
    serverId?: string;
    type?: APIChatMessageCategories;
    updatedAt: string;
}

Type declaration

  • channelId: string

    The ID of the channel

  • Optional content?: string

    The content of the message

  • Optional createdAt?: string

    The ISO 8601 timestamp that the message was created at

  • Optional createdBy?: string

    The ID of the user who created this message (Note: If this event has createdByWebhookId present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA)

  • Optional createdByWebhookId?: string

    The ID of the webhook who created this message, if it was created by a webhook

  • Optional embeds?: APIEmbedOptions[]

    (min items 1; max items 10)

  • Optional id?: string

    The ID of the message

  • Optional isPrivate?: boolean

    If set, this message will only be seen by those mentioned or replied to

  • Optional isSilent?: boolean

    If set, this message did not notify mention or reply recipients (default false)

  • Optional mentions?: APIMentions
  • Optional replyMessageIds?: string[]

    Message IDs that were replied to (min items 1; max items 5)

  • Optional serverId?: string

    The ID of the server

  • Optional type?: APIChatMessageCategories

    The type of chat message. "system" messages are generated by Guilded, while "default" messages are user or bot-generated.

  • updatedAt: string

    The ISO 8601 timestamp that the message was updated at, if relevant