Description: After some time of running a client MessagesSendMessage request sleeps forever. Seems like a deadlock, but I am not really sure. Some debug logs provided below
What version of gotd are you using?
github.com/gotd/td v0.99.2
Can this issue be reproduced with the latest version?
Description: After some time of running a client MessagesSendMessage request sleeps forever. Seems like a deadlock, but I am not really sure. Some debug logs provided below
What version of gotd are you using?
github.com/gotd/td v0.99.2
Can this issue be reproduced with the latest version?
Yes
What did you do?
API.MessagesSendMessage
What did you expect to see?
A message to be sent
What did you see instead?
MessagesSendMessage method sleeps forever
What Go version and environment are you using?
go version go1.21.1 linux/amd64
I run MessagesSendMessage with timeout of 5 minutes, context closes
Debug logs: