MadelineProtoDocs/docs/API_docs/constructors/searchResultsCalendarPeriod.md
2024-05-01 14:53:46 +02:00

1.6 KiB

title description nav_exclude image
searchResultsCalendarPeriod Information about found messages sent on a specific day, used to split the messages in messages.searchResultsCalendar constructors by days. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: searchResultsCalendarPeriod

Back to constructors index

Information about found messages sent on a specific day, used to split the messages in messages.searchResultsCalendar constructors by days.

Multiple searchResultsCalendarPeriod constructors are returned in messages.searchResultsCalendar, each containing information about the first, last and total number of messages matching the filter that were sent on a specific day.

Attributes:

Name Type Required Description
date int Yes The day this object is referring to.
min_msg_id int Yes First message ID that was sent on this day.
max_msg_id int Yes Last message ID that was sent on this day.
count int Yes All messages that were sent on this day.

Type: SearchResultsCalendarPeriod

Example:

$searchResultsCalendarPeriod = ['_' => 'searchResultsCalendarPeriod', 'date' => int, 'min_msg_id' => int, 'max_msg_id' => int, 'count' => int];