of the stories for a particular user, what works for me, is:
stories = await client(GetUserStoriesRequest(
user_id=user_id
))
though documentation at https://tl.telethon.dev/methods/stories/get_peer_stories.html says:
stories = await client(GetPeerStoriesRequest(
peer=user_id
))
I just guessed that you can use User and user_id instead of peer
But is there something with the versions?
Telegram added stories for channels too, that's why the methods are renamed in latest versions, you're using old one
Обсуждают сегодня