Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // from is who this message is from From *account.User // ChatID is the underlying provider's chatId ChatID string // Username is the username of the user we got this from Username string // UserID is the underlying provider's userId UserID string // PlatformName is the social media platform this came from PlatformName account.PlatformName Replyer func(chatId, message string) error // Error is included if an error occurred while processing this message Error error // Text is the message text Text string }
Message is a message published be a social media provider
Click to show internal directories.
Click to hide internal directories.