InputPeer

class pyrogram.raw.base.InputPeer

Peer.

Constructors

This base type has 7 constructors available.

InputPeerChannel

Defines a channel for further interaction.

InputPeerChannelFromMessage

Defines a min channel that was seen in a certain message of a certain chat.

InputPeerChat

Defines a chat for further interaction.

InputPeerEmpty

An empty constructor, no user or chat is defined.

InputPeerSelf

Defines the current user.

InputPeerUser

Defines a user for further interaction.

InputPeerUserFromMessage

Defines a min user that was seen in a certain message of a certain chat.