Relative Content

Tag Archive for pythonpyrogram

pyrogram get chat history(latest messages)

i write a simple code with pyrogram to get messages from a public channel.
i get the chaanel_id and passed it to the function but teh code raise an error.
could you please help me why it raises this error although the channel_id is correct?

Pyrogram – Invalid PeerID

I’m getting an invalid PeerId when trying to send messages to a group with a bot, but it’s telling me that the PeerID is invalid.