Interface GatewayEvent_GroupCreated

interface GatewayEvent_GroupCreated {
    group: {
        archivedAt?: string;
        archivedBy?: string;
        avatar?: string;
        createdAt: string;
        createdBy: string;
        description?: string;
        emoteId?: number;
        id: string;
        isHome?: boolean;
        isPublic: boolean;
        name: string;
        serverId: string;
        updatedAt?: string;
        updatedBy?: string;
    };
    serverId: string;
}

Properties

Properties

group: {
    archivedAt?: string;
    archivedBy?: string;
    avatar?: string;
    createdAt: string;
    createdBy: string;
    description?: string;
    emoteId?: number;
    id: string;
    isHome?: boolean;
    isPublic: boolean;
    name: string;
    serverId: string;
    updatedAt?: string;
    updatedBy?: string;
}

Type declaration

  • OptionalarchivedAt?: string

    Archived at Format: date-time

    The ISO 8601 timestamp that the group was archived at, if relevant

  • OptionalarchivedBy?: string

    Archived by

    The ID of the user who archived this group

  • Optionalavatar?: string

    Avatar Format: media-uri

    The avatar image associated with the group

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the group was created at

  • createdBy: string

    Created by

    The ID of the user who created this group

  • Optionaldescription?: string

    Description

    The description associated with the group

  • OptionalemoteId?: number

    The emote to associate with the group

  • id: string

    Group ID

    The ID of the group

  • OptionalisHome?: boolean

    Is home

    If true, this is the server's home group

  • isPublic: boolean

    Is public

    Is this group open for anyone to join?

    false
    
  • name: string

    The name of the group

  • serverId: string

    Server ID

    The ID of the server

  • OptionalupdatedAt?: string

    Updated at Format: date-time

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

  • OptionalupdatedBy?: string

    Updated by

    The ID of the user who updated this group

serverId: string

The ID of the server