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.
|
package main
|
|
|
|
import (
|
|
"github.com/hamcha/clessy/tg"
|
|
)
|
|
|
|
func executeClientCommand(action tg.ClientCommand) {
|
|
switch action.Type {
|
|
case tg.CmdSendTextMessage:
|
|
data := *(action.TextMessageData)
|
|
api.SendTextMessage(data)
|
|
}
|
|
}
|