Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "pachka" AttrToken = "token" AttrEntityID = "entity_id" AttrBody = "body" Version = "0.0.1" )
Variables ¶
View Source
var F embed.FS
Functions ¶
Types ¶
type Actor ¶ added in v0.18.1
type Actor struct {
*supervisor.BaseActor
AccessToken string
// contains filtered or unexported fields
}
Actor ...
func (*Actor) MessageParams ¶ added in v0.18.1
func (e *Actor) MessageParams() m.Attributes
MessageParams ...
func (*Actor) UpdateStatus ¶ added in v0.18.1
UpdateStatus ...
type EntityType ¶
type EntityType string
type RequestMessage ¶
type RequestMessage struct {
EntityType *EntityType `json:"entity_type,omitempty"`
EntityId int64 `json:"entity_id,omitempty"`
Content string `json:"content"`
}
type ResponseError ¶
type ResponseError struct {
Errors []*ErrorItem `json:"errors"`
}
Click to show internal directories.
Click to hide internal directories.