diff --git a/configs.go b/configs.go index 9d10655..04487a0 100644 --- a/configs.go +++ b/configs.go @@ -1007,21 +1007,3 @@ type PreCheckoutConfig struct { ErrorMessage string } -// DeleteMessageConfig contains information of a message in a chat to delete. -type DeleteMessageConfig struct { - ChatID int64 - MessageID int -} - -func (config DeleteMessageConfig) method() string { - return "deleteMessage" -} - -func (config DeleteMessageConfig) values() (url.Values, error) { - v := url.Values{} - - v.Add("chat_id", strconv.FormatInt(config.ChatID, 10)) - v.Add("message_id", strconv.Itoa(config.MessageID)) - - return v, nil -}