Hi I want get old messages for API Telegram, how do

it?

22 ответов

74 просмотра

you cannot access old messages using the telegram api unless you use libs like mtproto.

𐎸𐎶𐎹- Автор вопроса
𐎸𐎶𐎹
I want for php

https://tdlib.github.io/td/build.html?language=PHP

𐎸𐎶𐎹- Автор вопроса
𐎸𐎶𐎹
i cant access to root of linux in my host

This should be available for all users afaik

𐎸𐎶𐎹- Автор вопроса
𐎸𐎶𐎹
i cant access to root of linux in my host

but can i create on the computer and move to host?

𐎸𐎶𐎹- Автор вопроса

I was also able to find this: https://github.com/danog/MadelineProto

s0m31 🇷🇺
Mtproto is not a library 🤓

thats right, telegram has labeled it as a protocol for accessing api, but dev on github have developed it as a library for easier usage. 🧃

Иull
thats right, telegram has labeled it as a protocol...

But again, those are just standalone libraries 🤓

𐎸𐎶𐎹- Автор вопроса
𐎸𐎶𐎹- Автор вопроса
𐎸𐎶𐎹
ok, but bots can't use the getHistory

https://core.telegram.org/method/messages.getMessages

That's not the request that you are looking for 😉

𐎸𐎶𐎹- Автор вопроса
s0m31 🇷🇺
https://core.telegram.org/method/messages.getMessa...

The bot api does not offer such a method. i.e. reading messages from a particular chat. you only receive messages as they're sent by users 🧃.

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

Карта сайта