Comments (2)
It is desired (and documented) behavior. From the parameter limit description: "Fewer messages may be returned than specified by the limit, even if the end of the message history has not been reached".
In order to get more messages, you should call again searchChatMessages with from_message_id equal to message identifier of the last received message.
Offset should be always 0, if you retrieving messages from oldest to newest.
from td.
It was a bit confusing. I figured it out, thanks!
from td.
Related Issues (20)
- bilal HOT 1
- [ASK] Is there an example of how to use the video/voice call feature? HOT 1
- moving app to a different computer HOT 3
- How can I get pinned chat messages? HOT 1
- toggleMessageSenderIsBlocked This function was not found HOT 1
- how to get premium extension date HOT 1
- Need manually free return memory when use td_receive in ptyhon ? HOT 3
- [Advice] Need to find out if there're a way to fix an .ogg file broken due to using pause during recording the voice HOT 2
- 'Similar Channels' in TDLib HOT 2
- cannot edit message forwarded by bot HOT 1
- chat admin required for GetMegagroupStats HOT 3
- Based on TDlib, I now implement event monitoring for multiple account clients. Whenever I receive UpdateNewMessage, how should I distinguish which account client this message belongs to? Based on java HOT 2
- getting telegram messages from supergroup HOT 4
- Building tdweb results in RangeError HOT 6
- Receiving messages is stopping intermittently HOT 10
- Receiving message history from several chats at once HOT 3
- tdlib Versionsnumber HOT 2
- Warning in test/http.cpp while compile HOT 1
- Account is cancelled HOT 1
- How to understand that this is a link to a bot? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from td.