Increase number of stored recently found chats.
This commit is contained in:
parent
7ac3c2bdb9
commit
2eaa026bb7
@ -4034,7 +4034,7 @@ searchPublicChat username:string = Chat;
|
||||
//@description Searches public chats by looking for specified query in their username and title. Currently only private chats, supergroups and channels can be public. Returns a meaningful number of results. Returns nothing if the length of the searched username prefix is less than 5. Excludes private chats with contacts and chats from the chat list from the results @query Query to search for
|
||||
searchPublicChats query:string = Chats;
|
||||
|
||||
//@description Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the main chat list @query Query to search for. If the query is empty, returns up to 20 recently found chats @limit The maximum number of chats to be returned
|
||||
//@description Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the main chat list @query Query to search for. If the query is empty, returns up to 50 recently found chats @limit The maximum number of chats to be returned
|
||||
searchChats query:string limit:int32 = Chats;
|
||||
|
||||
//@description Searches for the specified query in the title and username of already known chats via request to the server. Returns chats in the order seen in the main chat list @query Query to search for @limit The maximum number of chats to be returned
|
||||
|
@ -1646,7 +1646,7 @@ class MessagesManager final : public Actor {
|
||||
static constexpr int32 MIN_CHANNEL_DIFFERENCE = 1;
|
||||
static constexpr int32 MAX_CHANNEL_DIFFERENCE = 100;
|
||||
static constexpr int32 MAX_BOT_CHANNEL_DIFFERENCE = 100000; // server side limit
|
||||
static constexpr int32 MAX_RECENTLY_FOUND_DIALOGS = 30; // some reasonable value
|
||||
static constexpr int32 MAX_RECENTLY_FOUND_DIALOGS = 50; // some reasonable value
|
||||
static constexpr size_t MAX_TITLE_LENGTH = 128; // server side limit for chat title
|
||||
static constexpr size_t MAX_DESCRIPTION_LENGTH = 255; // server side limit for chat description
|
||||
static constexpr size_t MAX_DIALOG_FILTER_TITLE_LENGTH = 12; // server side limit for dialog filter title
|
||||
|
Loading…
Reference in New Issue
Block a user