You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
408 B
Go
28 lines
408 B
Go
3 years ago
|
package recorddata
|
||
|
|
||
|
const (
|
||
|
TTS_COMMAND = iota
|
||
|
REFER_COMMAND
|
||
|
BYE_COMMAND
|
||
|
BARGEIN_COMMAND
|
||
|
DTMF_COMMAND
|
||
|
)
|
||
|
|
||
|
type BotCommandData struct {
|
||
|
Token string
|
||
|
CallID string
|
||
|
Method string
|
||
|
TelNO string
|
||
|
STTResult string
|
||
|
}
|
||
|
|
||
|
func NewBotCommandData(callID string, telNo string) *BotCommandData {
|
||
|
b := BotCommandData{CallID: callID, TelNO: telNo}
|
||
|
|
||
|
return &b
|
||
|
}
|
||
|
|
||
|
func (b *BotCommandData) SetData() {
|
||
|
|
||
|
}
|