messages.getChats

Returns chat basic info on their IDs.

messages.chats#8150cbd8 chats:Vector<Chat> users:Vector<User> = messages.Chats;
---functions---
messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;

Parameters

Name Type Description
id Vector<long> List of chat IDs

Result

messages.Chats

Possible errors

Code Type Description
400 CHAT_ID_INVALID The provided chat id is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.

Bots can use this method