Type alias AnnouncementPayload

AnnouncementPayload: {
    channelId: string;
    content: string;
    createdAt: string;
    createdBy: string;
    id: string;
    mentions?: MentionsPayload;
    serverId: string;
    title: string;
}

Type declaration

  • channelId: string

    The ID of the channel

  • content: string

    The content of the announcement

  • createdAt: string

    The ISO 8601 timestamp that the announcement was created at

  • createdBy: string

    The ID of the user who created this announcement

  • id: string

    The ID of the announcement

  • Optional mentions?: MentionsPayload
  • serverId: string

    The ID of the server

  • title: string

    The title of the announcement

Generated using TypeDoc