Safe Haskell | None |
---|---|
Language | Haskell2010 |
User activities
Synopsis
- data Activity = Activity {
- name :: Text
- type_ :: !ActivityType
- url :: Maybe Text
- timestamps :: Maybe ActivityTimestamps
- applicationID :: Maybe (Snowflake ())
- details :: Maybe Text
- state :: Maybe Text
- party :: Maybe ActivityParty
- assets :: Maybe ActivityAssets
- secrets :: Maybe ActivitySecrets
- instance_ :: Maybe Bool
- flags :: Maybe Word64
- activity :: Text -> ActivityType -> Activity
- data ActivityType
- data ActivityTimestamps = ActivityTimestamps {
- start :: !(Maybe UnixTimestamp)
- end :: !(Maybe UnixTimestamp)
- data ActivityParty = ActivityParty {}
- data ActivityAssets = ActivityAssets {}
- data ActivitySecrets = ActivitySecrets {}
Documentation
Activity | |
|
Instances
activity :: Text -> ActivityType -> Activity Source #
Make an Activity
with all optional fields set to Nothing
data ActivityType Source #
Instances
data ActivityTimestamps Source #
ActivityTimestamps | |
|
Instances
data ActivityParty Source #
Instances
data ActivityAssets Source #
Instances
data ActivitySecrets Source #