dovetypes

package
v0.0.0-...-4d5f9bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlatformStatus

type PlatformStatus string
const (
	PlatformStatusOnline       PlatformStatus = "online"
	PlatformStatusIdle         PlatformStatus = "idle"
	PlatformStatusDoNotDisturb PlatformStatus = "dnd"
	PlatformStatusOffline      PlatformStatus = "offline"
)

type PlatformUser

type PlatformUser struct {
	ID          string         `json:"id" description:"The users ID"`
	Username    string         `json:"username" description:"The users username"`
	DisplayName string         `` /* 147-byte string literal not displayed */
	Avatar      string         `json:"avatar" description:"The users resolved avatar URL for the platform (not just hash)"`
	Bot         bool           `json:"bot" description:"Whether the user is a bot or not"`
	Status      PlatformStatus `json:"status" description:"The users current status"`
	Flags       []string       `json:"flags" description:"The users flags. Note that dovewing has its own list of flags"`
	ExtraData   map[string]any `json:"extra_data" description:"Platform specific extra data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL