Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageType ¶
type MessageType int
MessageType ... ENUM(none,message,chat_member,max)
const ( // MessageTypeNone is a MessageType of type None. MessageTypeNone MessageType = iota // MessageTypeMessage is a MessageType of type Message. MessageTypeMessage // MessageTypeChatMember is a MessageType of type Chat_member. MessageTypeChatMember // MessageTypeMax is a MessageType of type Max. MessageTypeMax )
func ParseMessageType ¶
func ParseMessageType(name string) (MessageType, error)
ParseMessageType attempts to convert a string to a MessageType
func (MessageType) String ¶
func (x MessageType) String() string
String implements the Stringer interface.
Click to show internal directories.
Click to hide internal directories.