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

18 lines
281 B
Go

package tg
type ClientCommandType uint
const (
CmdSendTextMessage ClientCommandType = 1
)
type ClientTextMessageData struct {
ChatID int
Text string
ReplyID *int
}
type ClientCommand struct {
Type ClientCommandType
TextMessageData *ClientTextMessageData
}