-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Why the SearchMessages method returns one less message than expected. I sent Q1, Q2, Q3. FoundMessages.totalCount = 3, message[Q2, Q1]. If I send a message Q4 FoundMessages.totalCount = 4, message[Q3, Q2, Q1]. If I send a message Q5 FoundMessages.totalCount = 5, message is[Q4, Q3, Q2, Q1]. The problem is not the limits. Can you please tell me how to solve the problem and how the "query" works? I always send a string with a space " ", but if I send an empty string "" it stops matching.
TdApi.FoundMessages foundMessages = client.sendSync(new TdApi.SearchMessages(
new TdApi.ChatListMain(),
" ",
"",
10,
new TdApi.SearchMessagesFilterEmpty(),
null,
0,
0
));
Version: 1.8.50
Metadata
Metadata
Assignees
Labels
No labels