Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
structures/presence
PresenceActivity
Class PresenceActivity
Presence Activity Structure, used in [Presence]
Hierarchy
BaseStructure
PresenceActivity
Index
Constructors
constructor
Properties
_guild
Ids
_keys
_keys
Merge
_keys
Skip
Difference
_uncloneable
application
Id
assets
buttons
client
created
At
details
emoji
flags
id
instance
metadata
name
party
platform
position
secrets
session
Id
state
sync
Id
timestamps
type
url
user
Accessors
_should
Delete
application
application
IsXbox
can
Instance
can
Join
can
Join
Request
can
Play
can
Spectate
can
Sync
group
guild
Ids
image
Url
is
Clone
is
Custom
Status
is
Listening
is
OnAndroid
is
OnIOS
is
OnSamsung
is
OnSpotify
is
OnXbox
is
Playing
is
Streaming
is
Watching
party
IsFull
party
IsSpotify
party
Max
Size
party
Size
platform
Discord
Url
platform
Type
shard
Id
spotify
Track
Url
type
Text
Methods
[custom]
_delete
Guild
Id
_get
From
Snake
_has
Guild
Id
_set
From
Snake
clone
difference
differences
differences
Between
fetch
Application
fetch
Button
Urls
fetch
Metadata
has
Difference
has
Differences
has
Differences
Between
has
Flag
image
Url
Format
merge
merge
Value
toJSON
to
String
Constructors
constructor
new
Presence
Activity
(
user
:
User
, data
:
BaseStructureData
)
:
PresenceActivity
Parameters
user:
User
data:
BaseStructureData
Returns
PresenceActivity
Properties
_guild
Ids
_guild
Ids
:
string
|
BaseSet
<
string
>
= ''
Readonly
_keys
_keys
:
BaseSet
<
string
>
= ...
Readonly
_keys
Merge
_keys
Merge
:
BaseSet
<
string
>
= ...
Readonly
_keys
Skip
Difference
_keys
Skip
Difference
:
BaseSet
<
string
>
= ...
Readonly
_uncloneable
_uncloneable
:
true
= true
Optional
application
Id
application
Id
:
string
Optional
assets
assets
:
PresenceActivityAssets
Optional
buttons
buttons
:
string
[]
Readonly
client
client
:
ShardClient
Optional
created
At
created
At
:
number
Optional
details
details
:
string
Optional
emoji
emoji
:
Emoji
flags
flags
:
number
= 0
id
id
:
string
= ''
Optional
instance
instance
:
boolean
Optional
metadata
metadata
:
any
name
name
:
string
= ''
Optional
party
party
:
{
id
?:
string
;
size
?:
[
number
,
number
]
}
Type declaration
Optional
id
?:
string
Optional
size
?:
[
number
,
number
]
Optional
platform
platform
:
ActivityPlatformTypes
position
position
:
number
= 0
Optional
secrets
secrets
:
{
join
?:
string
;
match
?:
string
;
spectate
?:
string
}
Type declaration
Optional
join
?:
string
Optional
match
?:
string
Optional
spectate
?:
string
Optional
session
Id
session
Id
:
string
Optional
state
state
:
string
Optional
sync
Id
sync
Id
:
string
Optional
timestamps
timestamps
:
PresenceActivityTimestamps
type
type
:
number
= 0
Optional
url
url
:
string
Readonly
user
user
:
User
Accessors
_should
Delete
get
_shouldDelete
(
)
:
boolean
Returns
boolean
application
get
application
(
)
:
null
|
Application
Returns
null
|
Application
application
IsXbox
get
applicationIsXbox
(
)
:
boolean
Returns
boolean
can
Instance
get
canInstance
(
)
:
boolean
Returns
boolean
can
Join
get
canJoin
(
)
:
boolean
Returns
boolean
can
Join
Request
get
canJoinRequest
(
)
:
boolean
Returns
boolean
can
Play
get
canPlay
(
)
:
boolean
Returns
boolean
can
Spectate
get
canSpectate
(
)
:
boolean
Returns
boolean
can
Sync
get
canSync
(
)
:
boolean
Returns
boolean
group
get
group
(
)
:
BaseCollection
<
string
,
User
>
Returns
BaseCollection
<
string
,
User
>
guild
Ids
get
guildIds
(
)
:
BaseSet
<
string
>
Returns
BaseSet
<
string
>
image
Url
get
imageUrl
(
)
:
null
|
string
Returns
null
|
string
is
Clone
get
isClone
(
)
:
boolean
Returns
boolean
is
Custom
Status
get
isCustomStatus
(
)
:
boolean
Returns
boolean
is
Listening
get
isListening
(
)
:
boolean
Returns
boolean
is
OnAndroid
get
isOnAndroid
(
)
:
boolean
Returns
boolean
is
OnIOS
get
isOnIOS
(
)
:
boolean
Returns
boolean
is
OnSamsung
get
isOnSamsung
(
)
:
boolean
Returns
boolean
is
OnSpotify
get
isOnSpotify
(
)
:
boolean
Returns
boolean
is
OnXbox
get
isOnXbox
(
)
:
boolean
Returns
boolean
is
Playing
get
isPlaying
(
)
:
boolean
Returns
boolean
is
Streaming
get
isStreaming
(
)
:
boolean
Returns
boolean
is
Watching
get
isWatching
(
)
:
boolean
Returns
boolean
party
IsFull
get
partyIsFull
(
)
:
boolean
Returns
boolean
party
IsSpotify
get
partyIsSpotify
(
)
:
boolean
Returns
boolean
party
Max
Size
get
partyMaxSize
(
)
:
null
|
number
Returns
null
|
number
party
Size
get
partySize
(
)
:
null
|
number
Returns
null
|
number
platform
Discord
Url
get
platformDiscordUrl
(
)
:
null
|
string
Returns
null
|
string
platform
Type
get
platformType
(
)
:
string
Returns
string
shard
Id
get
shardId
(
)
:
number
Returns
number
spotify
Track
Url
get
spotifyTrackUrl
(
)
:
null
|
string
Returns
null
|
string
type
Text
get
typeText
(
)
:
string
Returns
string
Methods
[custom]
[custom]
(
)
:
object
Returns
object
_delete
Guild
Id
_delete
Guild
Id
(
guildId
:
string
)
:
void
Parameters
guildId:
string
Returns
void
_get
From
Snake
_get
From
Snake
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
_has
Guild
Id
_has
Guild
Id
(
guildId
:
string
)
:
boolean
Parameters
guildId:
string
Returns
boolean
_set
From
Snake
_set
From
Snake
(
key
:
string
, value
:
any
)
:
any
Parameters
key:
string
value:
any
Returns
any
clone
clone
(
)
:
PresenceActivity
Returns
PresenceActivity
difference
difference
(
key
:
string
, value
:
any
)
:
[
boolean
,
any
]
Parameters
key:
string
value:
any
Returns
[
boolean
,
any
]
differences
differences
(
data
?:
BaseStructureData
)
:
null
|
object
Parameters
Optional
data:
BaseStructureData
Returns
null
|
object
differences
Between
differences
Between
(
structure
:
Structure
)
:
null
|
object
Parameters
structure:
Structure
Returns
null
|
object
fetch
Application
fetch
Application
(
)
:
Promise
<
null
|
Application
>
Returns
Promise
<
null
|
Application
>
fetch
Button
Urls
fetch
Button
Urls
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
fetch
Metadata
fetch
Metadata
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
has
Difference
has
Difference
(
key
:
string
, value
:
any
)
:
boolean
Parameters
key:
string
value:
any
Returns
boolean
has
Differences
has
Differences
(
data
?:
BaseStructureData
)
:
boolean
Parameters
Optional
data:
BaseStructureData
Returns
boolean
has
Differences
Between
has
Differences
Between
(
structure
:
Structure
)
:
boolean
Parameters
structure:
Structure
Returns
boolean
has
Flag
has
Flag
(
flag
:
number
)
:
boolean
Parameters
flag:
number
Returns
boolean
image
Url
Format
image
Url
Format
(
format
?:
null
|
string
, query
?:
UrlQuery
)
:
null
|
string
Parameters
Optional
format:
null
|
string
Optional
query:
UrlQuery
Returns
null
|
string
merge
merge
(
data
?:
BaseStructureData
)
:
void
Parameters
Optional
data:
BaseStructureData
Returns
void
merge
Value
merge
Value
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
toJSON
toJSON
(
)
:
object
Returns
object
to
String
to
String
(
)
:
string
Returns
string
Exports
structures/presence
Presence
Presence
Activity
constructor
_guild
Ids
_keys
_keys
Merge
_keys
Skip
Difference
_uncloneable
application
Id
assets
buttons
client
created
At
details
emoji
flags
id
instance
metadata
name
party
platform
position
secrets
session
Id
state
sync
Id
timestamps
type
url
user
_should
Delete
application
application
IsXbox
can
Instance
can
Join
can
Join
Request
can
Play
can
Spectate
can
Sync
group
guild
Ids
image
Url
is
Clone
is
Custom
Status
is
Listening
is
OnAndroid
is
OnIOS
is
OnSamsung
is
OnSpotify
is
OnXbox
is
Playing
is
Streaming
is
Watching
party
IsFull
party
IsSpotify
party
Max
Size
party
Size
platform
Discord
Url
platform
Type
shard
Id
spotify
Track
Url
type
Text
[custom]
_delete
Guild
Id
_get
From
Snake
_has
Guild
Id
_set
From
Snake
clone
difference
differences
differences
Between
fetch
Application
fetch
Button
Urls
fetch
Metadata
has
Difference
has
Differences
has
Differences
Between
has
Flag
image
Url
Format
merge
merge
Value
toJSON
to
String
Presence
Activity
Assets
Presence
Activity
Timestamps
Image
Sizes
Special
Applications
Special
Prefixes
Generated using
TypeDoc
Presence Activity Structure, used in [Presence]