Skip to main content
Latest
interface RawActivity
import { type RawActivity } from "https://deno.land/x/denord@0.1.0/raw/RawActivity.ts";

Properties

name: string

the activity's name

type: number

activity type

optional
url: string

stream url, is validated when type is 1

created_at: UnixTimestamp

unix timestamp of when the activity was added to the user's session

optional
timestamps: RawActivityTimestamps

unix timestamps for start and/or end of the game

optional
application_id: ApplicationId

application id for the game

optional
details: string

what the player is currently doing

optional
state: string

the user's current party status

optional
emoji: RawActivityEmoji

the emoji used for a custom status

optional
party: RawActivityParty

information for the current party of the player

optional
assets: RawActivityAssets

images for the presence and their hover texts

optional
secrets: RawActivitySecrets

secrets for Rich Presence joining and spectating

optional
instance: boolean

whether or not the activity is an instanced game session

optional
flags: ActivityFlag

activity flags ORd together, describes what the payload includes