You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But interaction_info do not have UnmarshalJSON method to handle multiple messageSenderUser, so go-tdlib can't parse correctly and return the error.
It's easy to reproduce on my example code.
The text was updated successfully, but these errors were encountered:
c0re100
changed the title
Parser v2 still can not unmarshal correctly.
Parser v2 still cannot unmarshal correctly.
Nov 11, 2021
Another cannot unmarshal method: SearchStickerSet and affecting all sticker method json: cannot unmarshal object into Go struct field ClosedVectorPath.thumbnail_outline.commands of type tdlib.VectorPathCommand
It's affecting
SearchPublicChat
andGetChat
method.Maybe it's same issue like #1
code:
Error message:
json: cannot unmarshal object into Go struct field .last_message of type tdlib.MessageSender
Reason:
Since a public channel with linked group is allow an user reply without join group,
after
SearchPublicChat
, we can receive chat JSON like thisref: https://github.com/tdlib/td/blob/v1.7.0/td/generate/scheme/td_api.tl#L721
But
interaction_info
do not haveUnmarshalJSON
method to handle multiplemessageSenderUser
, so go-tdlib can't parse correctly and return the error.It's easy to reproduce on my example code.
The text was updated successfully, but these errors were encountered: