Activity¶
discord_http.gateway.activity module¶
- class discord_http.gateway.activity.Activity(*, state, data)¶
Bases:
objectRepresents an activity.
- Parameters:
state (DiscordAPI)
data (dict)
- timestamps: ActivityTimestamps | None¶
The timestamps of the activity, if any.
- emoji: EmojiParser | None¶
The emoji of the activity, if any.
- party: ActivityParty | None¶
The party of the activity, if any.
- assets: ActivityAssets | None¶
The assets of the activity, if any.
- secrets: ActivitySecrets | None¶
The secrets of the activity, if any.
- flags: ActivityFlags¶
The flags of the activity, if any.
- property type: ActivityType¶
The type of the activity.
- class discord_http.gateway.activity.ActivityAssets(*, state, application_id, data)¶
Bases:
objectRepresents the assets of an activity.
- Parameters:
state (DiscordAPI)
application_id (int)
data (dict)
- class discord_http.gateway.activity.ActivityParty(*, data)¶
Bases:
objectRepresents the party of an activity.
- Parameters:
data (dict)