This commit is contained in:
Aleksandr Zelenin 2018-10-19 19:04:48 +03:00
parent 862b94d2c7
commit ccea55b18f

View file

@ -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