Telegram

FREEMIUM
By Telegram API Provider | Updated a month ago | Social
Popularity

9.8 / 10

Latency

850ms

Service Level

100%

Health Check

N/A

Back to All Discussions

offset didnt work in Channel History

Rapid account: MHDEV
MHDEV
a year ago

hi

in History => Channel History :
when i use post id in offset api return empty messages in most cases

my test inputs :

offset = 2798
limit = 4
channel = programmerjokes

response :
{
“count”: 2731,
“messages”: []
}

am I doing something wrong or is it the api problem ?

regards.

Rapid account: I Yq Er Ddkq 0 T
i-YqErDdkq0t Commented 4 months ago

Hello. You can use the offset_id parameter to get the feed with a specific post. In this parameter you need to specify the post ID and + 1. For example, you want to get a post with ID 43492, you specify offset_id=43493.

Rapid account: MHDEV
MHDEV Commented a year ago

update:

sorry , now i get that how offset work

its start from the last channel posts …

but is there any way to check special post id ? like telegram api

tnx

Join in the discussion - add comment below:

Login / Signup to post new comments