Max-API-Guide
Max-API-Guide copied to clipboard
CHAT_INFO has two forms
The CHAT_INFO command can have one of two forms:
Form 1:
Request = {
# Identifiers of chats
SignedInteger[] chatIds;
}
Response = {
# List of found chats
Chat[] chats;
}
Form 2:
Request = {
# URL of the form 'https://max.ru/...'
String link;
}
Response = {
# Chat, if it was found
Chat chat;
}