Documentation
¶
Overview ¶
Package xep0085 implements XEP-0085: Chat State Notifications.
Index ¶
- Constants
- type CSI
- func (m *CSI) AccountFeatures(_ context.Context) ([]string, error)
- func (m *CSI) Name() string
- func (m *CSI) ServerFeatures(_ context.Context) ([]string, error)
- func (m *CSI) Start(_ context.Context) error
- func (m *CSI) Stop(_ context.Context) error
- func (m *CSI) StreamFeature(_ context.Context, _ string) (stravaganza.Element, error)
Constants ¶
View Source
const ( // ModuleName represents Chat State Notifications module name. ModuleName = "chatstates" // XEPNumber represents Chat State Notifications XEP number. XEPNumber = "0085" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSI ¶
type CSI struct {
// contains filtered or unexported fields
}
CSI represents a Chat State Notifications (XEP-0085) module type.
func (*CSI) AccountFeatures ¶
AccountFeatures returns Chat State Notifications account disco features.
func (*CSI) ServerFeatures ¶
ServerFeatures returns Chat State Notifications server disco features.
func (*CSI) StreamFeature ¶
StreamFeature returns Chat State Notifications stream feature.
Click to show internal directories.
Click to hide internal directories.