Skip to content

Commit

Permalink
fix: unused index
Browse files Browse the repository at this point in the history
  • Loading branch information
MoYoez committed Mar 11, 2024
1 parent 2c55b40 commit 76873b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 76873b4

Please sign in to comment.