Peer #

Identifier of a private chat, basic group, group or channel (see here » for more info).

Layer 223

peerUser#59511722 user_id:long = Peer;
peerChat#36c6019a chat_id:long = Peer;
peerChannel#a2a5371e channel_id:long = Peer;

Constructors #

ConstructorDescription
peerUserChat partner
peerChatGroup.
peerChannelChannel/supergroup

Peer database #

Many constructors in the API need to be stored in a local database upon reception and should only ever be updated reactively (passively) when received via updates or by other means (as specified in the documentation), to avoid overloading the server by continuously requesting changes for the same unchanged information.