So... admin asking bot questions: What's the best way to perform

a message_id lookup?

Use Case: I need to find the "latest" message_id for a given chat. without too much trial & error and without hitting rate limits.

4 ответов

24 просмотра

Use TDLib with getHistory Or Save last message_id in DB/JSON file

Яico-X Автор вопроса
𓂆 معاذ القَرْني
Use TDLib with getHistory Or Save last message_id...

I can't store messages the bot receives over time. It must be done "ad-hoc"

Яico-X Автор вопроса
𓂆 معاذ القَرْني
TDLib has updateLastMessage

I see. So without tdlib/mtproto no way, right?

Похожие вопросы

Карта сайта