diff --git a/context.go b/context.go index 5484e85..071d3ba 100644 --- a/context.go +++ b/context.go @@ -80,7 +80,7 @@ func (ctx *Ctx) CheckSession() Rule { // if replytosender { // c.ReplyToMessageID = ctx.Message.MessageID // } -func (ctx *Ctx) Send(replytosender bool, c tgba.Chattable, parameters tgba.ReplyParameters) (tgba.Message, error) { +func (ctx *Ctx) Send(replytosender bool, c tgba.Chattable) (tgba.Message, error) { msg := reflect.ValueOf(c).Elem() msg.FieldByName("ChatID").SetInt(ctx.Message.Chat.ID) if replytosender {