Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetMessageLinkRequest to get the message link and always get an error: INPUT_METHOD_INVALID. #1279

Open
DukeAnn opened this issue Jan 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DukeAnn
Copy link

DukeAnn commented Jan 7, 2024

What version of gotd are you using?

github.com/gotd/td v0.93.0

Can this issue be reproduced with the latest version?

Yes

What did you do?

tdClient := tdapi.NewClient(ctx.Raw.Invoker())
link, err := tdClient.GetMessageLink(ctx, &tdapi.GetMessageLinkRequest{
 ChatID:    update.EffectiveChat().GetID(),
 MessageID: int64(update.EffectiveMessage.ID),
})

What did you expect to see?

MessageLink

What did you see instead?

error: INPUT_METHOD_INVALID.

What Go version and environment are you using?

go version go1.21.0

go env Output
$ go env
@DukeAnn DukeAnn added the bug Something isn't working label Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant