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

16 lines
252 B
Go

package tg
type ClientCommandType uint
const (
CmdSendMessage ClientCommandType = 1
)
type ClientCommandMessageData struct {
MessageText string
}
type ClientCommand struct {
Type ClientCommandType
MessageData *ClientCommandMessageData
}