Raw.messages.GetSearchResultsCalendar

Raw.messages.GetSearchResultsCalendar

Returns information about the next messages of the specified type in the chat split by days.

messages.getSearchResultsCalendar#6aa3f6bd flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar;
export namespace Raw {
  export namespace messages {
    export class GetSearchResultsCalendar {
      constructor(params: {
        peer: Raw.TypeInputPeer;
        savedPeerId?: Raw.TypeInputPeer;
        filter: Raw.TypeMessagesFilter;
        offsetId: number;
        offsetDate: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x6aa3f6bd

Property

  • peer : Raw.TypeInputPeer

    Peer where to search

  • savedPeerId : Raw.TypeInputPeer or undefined

    Search within the saved message dialog with this id.

  • filter : Raw.TypeMessagesFilter

    Message filter, inputmessagesfilterempty, inputmessagesfiltermymentions filters are not supported by this method.

  • offsetId : number

    Offsets for pagination, for more info click here

  • offsetDate : number

    Offsets for pagination, for more info click here

Results

Raw.messages.TypeSearchResultsCalendar