chat fix
This commit is contained in:
parent
862b94d2c7
commit
ccea55b18f
|
@ -44,7 +44,9 @@ func chats(tdlibClient *client.Client, chatChan chan *client.Chat, errChan chan
|
|||
}
|
||||
|
||||
for _, chatId := range chats.ChatIds {
|
||||
chat, err := tdlibClient.GetChat(chatId)
|
||||
chat, err := tdlibClient.GetChat(&client.GetChatRequest{
|
||||
ChatId: chatId,
|
||||
})
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
|
||||
|
|
Loading…
Reference in a new issue