fix delay
This commit is contained in:
parent
eb7326d96b
commit
beee1818b1
20
def.go
20
def.go
@ -7,16 +7,16 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type TGCommand struct {
|
type TGCommand struct {
|
||||||
Type int64 `json:"type"`
|
Type int64 `json:"type"`
|
||||||
FromChatID64 int64 `json:"from_chat_id"`
|
FromChatID64 int64 `json:"from_chat_id"`
|
||||||
FromUserID64 int64 `json:"from_user_id"`
|
FromUserID64 int64 `json:"from_user_id"`
|
||||||
FromMsgID64 int64 `json:"from_msg_id"`
|
FromMsgID64 int64 `json:"from_msg_id"`
|
||||||
ToChatID64 int64 `json:"to_chat_id"`
|
ToChatID64 int64 `json:"to_chat_id"`
|
||||||
ToUserID64 int64 `json:"to_user_id"`
|
ToUserID64 int64 `json:"to_user_id"`
|
||||||
Text string `json:"text"`
|
Text string `json:"text"`
|
||||||
Document tb.Document `json:"document"`
|
Document tb.Document `json:"document"`
|
||||||
ParseMode int64 `json:"parse_mode"`
|
ParseMode int64 `json:"parse_mode"`
|
||||||
Delay time.Delay `json:"delay"`
|
Delay time.Duration `json:"delay"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ChatWarsMessage struct {
|
type ChatWarsMessage struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user