Documentation - v0.27.0
    Preparing search index...

    Information about a cached peer

    interface PeerInfo {
        accessHash: string;
        complete: Uint8Array;
        id: number;
        isMin: boolean;
        phone?: string;
        updated: number;
        usernames: string[];
    }
    Index

    Properties

    accessHash: string

    Peer access hash, as a fast string representation

    complete: Uint8Array

    Complete information about the peer, serialization of tl.TypeUser or tl.TypeChat

    id: number

    Peer marked ID

    isMin: boolean

    Whether the peer is a "min" peer

    phone?: string

    Peer phone number, if available

    updated: number

    Timestamp (in seconds) when the peer was last updated

    usernames: string[]

    Peer usernames, if any