InputPeer

Peer

inputPeerEmpty#7f3b18ea = InputPeer;
inputPeerSelf#7da07ec9 = InputPeer;
inputPeerChat#179be863 chat_id:int = InputPeer;
inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;
inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;
inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer;
inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer;

Constructors

Constructor Description
inputPeerEmpty An empty constructor, no user or chat is defined.
inputPeerSelf Defines the current user.
inputPeerChat Defines a chat for further interaction.
inputPeerUser Defines a user for further interaction.
inputPeerChannel Defines a channel for further interaction.
inputPeerUserFromMessage Defines a min user that was seen in a certain message of a certain chat.
inputPeerChannelFromMessage Defines a min channel that was seen in a certain message of a certain chat.