Max-API-Guide icon indicating copy to clipboard operation
Max-API-Guide copied to clipboard

CHAT_INFO has two forms

Open saur0n opened this issue 1 month ago • 0 comments

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;
}

saur0n avatar Oct 11 '26 14:10 saur0n