This repository has been archived on 2023-07-05. You can view files and clone it, but cannot push or open issues or pull requests.
clessy/tg/command.go

17 lines
252 B
Go
Raw Normal View History

2016-02-08 13:47:10 +00:00
package tg
2016-02-08 16:52:13 +00:00
type ClientCommandType uint
const (
CmdSendMessage ClientCommandType = 1
)
type ClientCommandMessageData struct {
MessageText string
}
2016-02-08 13:47:10 +00:00
type ClientCommand struct {
2016-02-08 16:52:13 +00:00
Type ClientCommandType
MessageData *ClientCommandMessageData
2016-02-08 13:47:10 +00:00
}