How do I scrape photos or videos from a group on Telegram using either Pyrogram or Telethon? I know how to make a client and so forth, but not sure which functions to call (I have already read the documentation).
I want the videos as mp4 files, and photos as jpg or jpeg.