Documentation ¶
Index ¶
- Variables
- func RegisterHandlers(log *gofx.Logger, e *Event) whatsapp.EventHandler
- type Event
- func (e *Event) OnAppState(v *events.AppState)
- func (e *Event) OnAppSyncComplete(v *events.AppStateSyncComplete, cli *whatsmeow.Client, sessionID string)
- func (e *Event) OnConnected(cli *whatsmeow.Client, sessionID string)
- func (e *Event) OnDelete(v *events.DeleteForMe)
- func (e *Event) OnHistorySync(v *events.HistorySync)
- func (e *Event) OnLoggedOut(v *events.LoggedOut)
- func (e *Event) OnMessage(v *events.Message)
- func (e *Event) OnPairSuccess(v *events.PairSuccess)
- func (e *Event) OnPresence(v *events.Presence)
- func (e *Event) OnReceipt(v *events.Receipt)
- func (e *Event) OnReplaced(v *events.StreamReplaced)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(log *gofx.Logger, e *Event) whatsapp.EventHandler
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
func (*Event) OnAppState ¶
func (*Event) OnAppSyncComplete ¶
func (*Event) OnDelete ¶
func (e *Event) OnDelete(v *events.DeleteForMe)
func (*Event) OnHistorySync ¶
func (e *Event) OnHistorySync(v *events.HistorySync)
func (*Event) OnLoggedOut ¶
func (*Event) OnPairSuccess ¶
func (e *Event) OnPairSuccess(v *events.PairSuccess)
func (*Event) OnPresence ¶
func (*Event) OnReplaced ¶
func (e *Event) OnReplaced(v *events.StreamReplaced)
Click to show internal directories.
Click to hide internal directories.