Documentation ¶
Index ¶
Constants ¶
View Source
const V1_PREFIX = "/xmtp/0/"
View Source
const V3_PREFIX = "/xmtp/1/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageType ¶
type MessageType string
const ( Test MessageType = "test" Private MessageType = "private" Contact MessageType = "contact" V1Intro MessageType = "v1-intro" V2Invite MessageType = "v2-invite" V1Conversation MessageType = "v1-conversation" V2Conversation MessageType = "v2-conversation" V3Welcome MessageType = "v3-welcome" V3Conversation MessageType = "v3-conversation" Unknown MessageType = "unknown" )
func GetMessageType ¶
func GetMessageType(env *v1.Envelope) MessageType
Click to show internal directories.
Click to hide internal directories.