Anony
Anony
> > > > Oh, It seems like the problem is associated with the modifications you're making to echobot example. It's working fine for me for all cases including replying...
> for fix issue: > > ``` > func start(ctx *ext.Context, update *ext.Update) error { > user := update.EffectiveUser() > _, _ = ctx.Reply(update, fmt.Sprintf("Hello %s, I am @%s and...
> original: > > ``` > }) > // End dispatcher groups so that bot doesn't echo /start command usage > return dispatcher.EndGroups > ``` > > fix: > >...
> > > > original: > > > ``` > > > }) > > > // End dispatcher groups so that bot doesn't echo /start command usage > >...
Hello @DiMiTriFrog, Please tell if you're still facing this problem.
> bloody `interface{}` :( > > The problem was with `text interface{}` argument in `ctx.Reply()`, I just need to change it to ` _, err := ctx.Reply(update, update.EffectiveMessage.Message.Message, nil)` Agreed!...
> Any updates? We're working on a common method for it, it should be out soon. Thank you for the patience!
@TrixiS I have pushed the progress https://github.com/celestix/gotgproto/commit/f75a0aaa5fd108cbf5f57010219624adff5e9c64 You can try it if you want (It's untested from our side).
This is not a bug in the library, the approach is wrong. You need to use the data retrieved from tg.ContactsResolvedPeer and fill it in tg.InputPeerClass to make it work.
Can you explain it a bit more? The data seems insufficient to understand the problem.