diff --git a/def.go b/def.go index 58d4777..15c7b33 100644 --- a/def.go +++ b/def.go @@ -49,16 +49,16 @@ type MQKeepAlive struct { } type TGCommand struct { - Type int64 `json:"type"` - FromChatID64 int64 `json:"from_chat_id"` - FromUserID64 int64 `json:"from_user_id"` - FromMsgID64 int64 `json:"from_msg_id"` - ToChatID64 int64 `json:"to_chat_id"` - ToUserID64 int64 `json:"to_user_id"` - Text string `json:"text"` - Document tb.Document `json:"document"` - ParseMode int64 `json:"parse_mode"` - Delay time.Delay `json:"delay"` + Type int64 `json:"type"` + FromChatID64 int64 `json:"from_chat_id"` + FromUserID64 int64 `json:"from_user_id"` + FromMsgID64 int64 `json:"from_msg_id"` + ToChatID64 int64 `json:"to_chat_id"` + ToUserID64 int64 `json:"to_user_id"` + Text string `json:"text"` + Document tb.Document `json:"document"` + ParseMode int64 `json:"parse_mode"` + Delay time.Duration `json:"delay"` } type ChatWarsCastle struct {