Interface GatewayEvent_ListItemUncompleted

interface GatewayEvent_ListItemUncompleted {
    listItem: {
        channelId: string;
        completedAt?: string;
        completedBy?: string;
        createdAt: string;
        createdBy: string;
        createdByWebhookId?: string;
        groupId: string;
        id: string;
        mentions?: {
            channels?: {
                id: string;
            }[];
            everyone?: boolean;
            here?: boolean;
            roles?: {
                id: number;
            }[];
            users?: {
                id: string;
            }[];
        };
        message: string;
        note?: {
            content: string;
            createdAt: string;
            createdBy: string;
            mentions?: {
                channels?: {
                    id: string;
                }[];
                everyone?: boolean;
                here?: boolean;
                roles?: {
                    id: number;
                }[];
                users?: {
                    id: string;
                }[];
            };
            updatedAt?: string;
            updatedBy?: string;
        };
        parentListItemId?: string;
        serverId: string;
        updatedAt?: string;
        updatedBy?: string;
    };
    serverId: string;
}

Properties

Properties

listItem: {
    channelId: string;
    completedAt?: string;
    completedBy?: string;
    createdAt: string;
    createdBy: string;
    createdByWebhookId?: string;
    groupId: string;
    id: string;
    mentions?: {
        channels?: {
            id: string;
        }[];
        everyone?: boolean;
        here?: boolean;
        roles?: {
            id: number;
        }[];
        users?: {
            id: string;
        }[];
    };
    message: string;
    note?: {
        content: string;
        createdAt: string;
        createdBy: string;
        mentions?: {
            channels?: {
                id: string;
            }[];
            everyone?: boolean;
            here?: boolean;
            roles?: {
                id: number;
            }[];
            users?: {
                id: string;
            }[];
        };
        updatedAt?: string;
        updatedBy?: string;
    };
    parentListItemId?: string;
    serverId: string;
    updatedAt?: string;
    updatedBy?: string;
}

Type declaration

  • channelId: string

    Channel ID Format: uuid

    The ID of the channel

  • OptionalcompletedAt?: string

    Completed at Format: date-time

    The ISO 8601 timestamp that the list item was completed at

  • OptionalcompletedBy?: string

    Completed by

    The ID of the user who completed this list item

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the list item was created at

  • createdBy: string

    Created by

    The ID of the user who created this list item (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)

  • OptionalcreatedByWebhookId?: string

    Created by Webhook ID

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

  • groupId: string

    Group ID

    The ID of the group

  • id: string

    Format: uuid

    The ID of the list item

  • Optionalmentions?: {
        channels?: {
            id: string;
        }[];
        everyone?: boolean;
        here?: boolean;
        roles?: {
            id: number;
        }[];
        users?: {
            id: string;
        }[];
    }
    • Optionalchannels?: {
          id: string;
      }[]

      Channels

      Info on mentioned channels

    • Optionaleveryone?: boolean

      Everyone

      If

      was mentioned

    • Optionalhere?: boolean

      Here

      If

      was mentioned

    • Optionalroles?: {
          id: number;
      }[]

      Roles

      Info on mentioned roles

    • Optionalusers?: {
          id: string;
      }[]

      Users

      Info on mentioned users

  • message: string

    Message Format: list item markdown

    The message of the list item

  • Optionalnote?: {
        content: string;
        createdAt: string;
        createdBy: string;
        mentions?: {
            channels?: {
                id: string;
            }[];
            everyone?: boolean;
            here?: boolean;
            roles?: {
                id: number;
            }[];
            users?: {
                id: string;
            }[];
        };
        updatedAt?: string;
        updatedBy?: string;
    }
    • content: string

      Note Format: long-form markdown

      The note of the list item

    • createdAt: string

      Created at Format: date-time

      The ISO 8601 timestamp that the note was created at. If this field is populated, then there's a note associated with the list item

    • createdBy: string

      Created by

      The ID of the user who created this note

    • Optionalmentions?: {
          channels?: {
              id: string;
          }[];
          everyone?: boolean;
          here?: boolean;
          roles?: {
              id: number;
          }[];
          users?: {
              id: string;
          }[];
      }
      • Optionalchannels?: {
            id: string;
        }[]

        Channels

        Info on mentioned channels

      • Optionaleveryone?: boolean

        Everyone

        If

        was mentioned

      • Optionalhere?: boolean

        Here

        If

        was mentioned

      • Optionalroles?: {
            id: number;
        }[]

        Roles

        Info on mentioned roles

      • Optionalusers?: {
            id: string;
        }[]

        Users

        Info on mentioned users

    • OptionalupdatedAt?: string

      Updated at Format: date-time

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

    • OptionalupdatedBy?: string

      Updated by

      The ID of the user who updated this note

  • OptionalparentListItemId?: string

    Format: uuid

    The ID of the parent list item if this list item is nested

  • serverId: string

    Server ID

    The ID of the server

  • OptionalupdatedAt?: string

    Updated at Format: date-time

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

  • OptionalupdatedBy?: string

    Updated by

    The ID of the user who updated this list item

serverId: string

The ID of the server