Relative Content

Tag Archive for telegramtelethontelegram-api

Telegram client API “messages.getDialogs” method ignores offset_id and offset_peer

I’m trying to retrieve a list of dialogs from a specific offset in a Telegram channel using Telethon 1.36.0. To achieve this, I used the ID of the last message in the channel from which I want to start the offset. However, when I tried different methods like get_dialogs, iter_dialogs, and client(GetDialogsRequest(…)), I did not get the expected result. It seems that Telegram always considers offset_date, and if it is not passed, it returns the list starting from the beginning.