ODTranscriptHtmlV2Data interface
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
The structure of the data sent to the Open Ticket HTML Transcripts v2 API.
Properties
bot
type ➜ {id:string, name:string, pfp:string}
(no description)
language
string ➜ string
(no description)
messages
array ➜ {attachments:({fileType:string, name:string, size:string, type:"FILE", url:string}|{fileType:string, name:string, size:string, type:"FILE:image", url:string}|{guildId:string, guildName:string, guildOnline:number, guildSize:number, image:string, type:"URL:invite", url:string}|{type:"URL:gif", url:string}|{name:string, type:"BUILDIN:sticker", url:string})[], author:{bot:boolean, color:string, id:string, name:string, pfp:string, system:boolean, verifiedBot:boolean}, components:({buttons:{color:"red"|"green"|"blue"|"gray", disabled:boolean, icon:string|false, id:string|false, label:string|false, type:"interaction"|"url", url:string|false}[], type:"buttons"}|{options:{description:string|false, icon:string|false, id:string|false, label:string|false}[], placeholder:string|false, type:"dropdown"}|{reactions:{amount:number, emoji:string, type:"image"|"gif"|"svg"}[], type:"reactions"})[], content:string|false, edited:boolean, embeds:{authorimg:string|false, authortext:string|false, color:string, description:string|false, fields:{inline:boolean, name:string, value:string}[], footerimg:string|false, footertext:string|false, image:string|false, thumbnail:string|false, title:string|false, url:string|false}[], important:boolean, reply:{commandOptions:{interactionId:string, interactionName:string}, replyOptions:{channelId:string, content:string, guildId:string, messageId:string}, type:false|"reply"|"command", user:{bot:boolean, color:string, id:string, name:string, pfp:string, system:boolean, verifiedBot:boolean}}, timestamp:number, type:"normal"}[]
(no description)
otversion
string ➜ string
(no description)
premium
type ➜ {additionalFlags:string[], customCredits:{enable:boolean, enableReportBug:boolean, replaceText:string, replaceURL:string}, customFavicon:{enabled:boolean, image:string}, customHeaderUrl:{enabled:boolean, text:string, url:string}, customTranscriptUrl:{enabled:boolean, name:string}, enabled:boolean, premiumToken:string}
(no description)
style
type ➜ {background:{backgroundData:string, backgroundModus:"color"|"image", enableCustomBackground:boolean}, favicon:{enableCustomFavicon:boolean, imageUrl:string}, header:{backgroundColor:string, decoColor:string, enableCustomHeader:boolean, textColor:string}, stats:{backgroundColor:string, enableCustomStats:boolean, hideBackgroundColor:string, hideTextColor:string, keyTextColor:string, valueTextColor:string}}
(no description)
ticket
type ➜ {claimedid:string, claimedname:string, claimedpfp:string, closedbyid:string, closedbyname:string, closedbypfp:string, closedtime:number, components:{attachments:{gifs:number, images:number, invites:number, stickers:number}, embeds:number, files:number, interactions:{buttons:number, dropdowns:number, total:number}, messages:number, reactions:number}, creatorid:string, creatorname:string, creatorpfp:string, guildid:string, guildinvite:string|false, guildname:string, id:string, name:string, openedtime:number, roleColors:{color:string, id:string}[]}
(no description)
version
type ➜ "2"
(no description)