Skip to main content
Module

x/discord_api_types/payloads/v8/mod.ts>APITemplate

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APITemplate
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type APITemplate } from "https://deno.land/x/discord_api_types@0.37.11/payloads/v8/mod.ts";

Properties

code: string

The template code (unique ID)

name: string

Template name

description: string | null

The description for the template

usage_count: number

Number of times this template has been used

creator_id: Snowflake

The ID of the user who created the template

creator: APIUser
created_at: string

When this template was created

updated_at: string

When this template was last synced to the source guild

source_guild_id: Snowflake

The ID of the guild this template is based on

serialized_source_guild: APITemplateSerializedSourceGuild

The guild snapshot this template contains

is_dirty: boolean | null

Whether the template has unsynced changes