18 lines
281 B
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
|
|
}
|