td
td copied to clipboard
GetMessageLinkRequest to get the message link and always get an error: INPUT_METHOD_INVALID.
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