MessagesSearch always returns messages as nil
#1788
Unanswered
pyxelpioneer
asked this question in
Q&A
Replies: 1 comment
|
I've transfered this issue to discussins since it is Telegram Server behaviour. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What version of gotd are you using?
github.com/gotd/td v0.99.1
Can this issue be reproduced with the latest version?
Yes
What did you do?
I am trying to get all the pinned messages in a peer.
Here is the code:
What did you expect to see?
I was expecting a list of messages that represents all the messages
What did you see instead?
It is null and on printing (json-ing) the value of
pinnedMessages, i am getting:{"Flags":0,"Inexact":false,"Count":1,"NextRate":0,"OffsetIDOffset":0,"Messages":null,"Chats":null,"Users":null}I can confirm that I am getting correct amount of
Countbut why are theMessagesnull? Am i missing smth?What Go version and environment are you using?
go version go1.22.0 linux/amd64
All reactions