GetUserPhotos

---functions---
photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos

Returns

photos.Photos

Parameters

user_idInputUserrequired
offsetintrequired
max_idlongrequired
limitintrequired

Example

The examples below use placeholder values. Replace them with real data before running the code.

Example
import asyncio
from ferogram import Client

app = Client("my_session", api_id=12345, api_hash="0123456789abcdef0123456789abcdef")

async def main():
    await app.start()
    result = await app.raw.photos.GetUserPhotos(
        user_id='username',
        offset=0,
        max_id=0,
        limit=100
    )
    print(result)

asyncio.run(main())