miniproto.peers
miniproto.peers
Section titled “miniproto.peers”Resolve, normalize, and persist Telegram peers with revision-aware indexes.
Public objects
Section titled “Public objects”PeerCache— Revision-aware session peer cache with local and remote resolution paths.input_peer_from_peer— Convert a resolved peer to its MTProtoInputPeerrepresentation.input_user_from_peer— Convert self or a hash-bearing user peer to MTProtoInputUser.input_channel_from_peer— Convert a hash-bearing channel peer to MTProtoInputChannel.