If enabled, the rating of top peers indicates the relevance of a frequently used peer in a certain category (frequently messaged users, frequently used bots, inline bots, frequently visited channels and so on).
The rate delta is computed by taking the time delta between the last time the user used a certain peer and the last time the rating for that peer was received and dividing it by the exponential decay from config.
Client-side, every time a user opens chat
123456789 the following operation must be done on the cached top peer info.
dateOpenedindicates when was the peer used
normalizeRateis an arbitrary time in the recent past.
topPeer.rating += e^((dateOpened - normalizeRate) / config.rating_e_decay)