Get a chat or a user profile photos sequentially.Usable by Users Bots
str) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).
int, optional) – Limits the number of profile photos to be retrieved. By default, no limit is applied and all profile photos are returned.
Generator– A generator yielding
async for photo in app.get_chat_photos("me"): print(photo)