Closed Erni76 closed 4 years ago
Apparently I was imputing the wrong id ... with -100 on the front. All works as expected.
Apparently I was imputing the wrong id ... with -100 on the front. All works as expected.
I have the same problem. Removing 100 from the start of the ID does not help.
Apparently I was imputing the wrong id ... with -100 on the front. All works as expected.
I have the same problem. Removing 100 from the start of the ID does not help.
For me it was not the offset_id
instead await
was missing in two lines. Below the correct lines where I added await
:
my_channel = await client.get_entity(entity)
...
history = await client(GetHistoryRequest(
Apparently I was imputing the wrong id ... with -100 on the front. All works as expected.
I have the same problem. Removing 100 from the start of the ID does not help.
For me it was not the
offset_id
insteadawait
was missing in two lines. Below the correct lines where I addedawait
:my_channel = await client.get_entity(entity) ... history = await client(GetHistoryRequest(
I get
Cannot cast coroutine to any kind of Peer. after adding await, what could be the prob?
Hello, I had tried your code ChannelMessages.py to retrieve messages from a group I'm a member of. Unfortunately, no matter how I set the
offset-id
I keep getting this error:Could you please help me to resolve this issue?