• Get preview information about a private chat.

    Parameters

    Returns Promise<ChatPreview>

    MtArgumentError In case invite link has invalid format

    MtPeerNotFoundError In case you are trying to get info about private chat that you have already joined. Use getChat or getFullChat instead.