Open simonfrey opened 5 years ago
I want to get information about a superuser group. I use the chat example and try to access the superuser info with GetSupergroup().
The GetSupergroup() function accepts a int32 but the chat.ID returned by GetChat() is a int64.
Expected: They both should be of the same type
I have same problem, how to get groupsuper_id in a *tdlib.Chat
the code in this library is auto-generated from tdlib's td_api.tl and as seen in tdlib's docs getSupergroup accepts int32 (link)
td_api.tl
getSupergroup
int32
also the chat's id, it's type is int53 (link) which has no direct equivalent in go. so this library uses int64 instead.
chat
id
int53
int64
I think you should ask this on tdlib/td
I want to get information about a superuser group. I use the chat example and try to access the superuser info with GetSupergroup().
The GetSupergroup() function accepts a int32 but the chat.ID returned by GetChat() is a int64.
Expected: They both should be of the same type