messages.GetSearchResultsCalendar#

class pyrogram.raw.functions.messages.GetSearchResultsCalendar#

Returns information about the next messages of the specified type in the chat split by days. Returns the results in reverse chronological order. Can return partial results for the last returned day.

Details:
  • Layer: 211

  • ID: 6AA3F6BD

Parameters:
peer (InputPeer):

Peer where to search

filter (MessagesFilter):

Message filter, inputMessagesFilterEmpty, inputMessagesFilterMyMentions filters are not supported by this method.

offset_id (int 32-bit):

Offsets for pagination, for more info click here

offset_date (int 32-bit):

Offsets for pagination, for more info click here

saved_peer_id (InputPeer, optional):

Search within the saved message dialog » with this ID.

Returns:

messages.SearchResultsCalendar