UNPKG

guildedapi-types.ts

Version:

Up to date Guilded API Typings. Contribution is welcome.

17 lines 859 B
import type * as OpenAPI from "../../schemas/v1"; export type APIChatMessageCategories = 'default' | 'system'; export type APIChatMessage = OpenAPI.components["schemas"]["ChatMessage"]; export type APIEmbedOptions = OpenAPI.components["schemas"]["ChatEmbed"]; export type APIMentions = OpenAPI.components["schemas"]["Mentions"]; export type APIEmbedField = NonNullable<OpenAPI.components['schemas']['ChatEmbed']['fields']>[number]; export type APIMessageOptions = { content?: string; hiddenLinkPreviewUrls?: Array<string>; embeds?: Array<APIEmbedOptions>; replyMessageIds?: Array<string>; isSilent?: boolean; isPrivate?: boolean; }; export type APIAnnouncement = OpenAPI.components["schemas"]["Announcement"]; export type APIAnnouncementComment = OpenAPI.components["schemas"]["AnnouncementComment"]; //# sourceMappingURL=Chat.d.ts.map