SearchResultsCalendarPeriod

class pyrogram.raw.types.SearchResultsCalendarPeriod

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

Constructor of SearchResultsCalendarPeriod.

Details:
  • Layer: 223

  • ID: C9B0539F

Parameters:
  • date (int 32-bit) – The day this object is referring to.

  • min_msg_id (int 32-bit) – First message ID that was sent on this day.

  • max_msg_id (int 32-bit) – Last message ID that was sent on this day.

  • count (int 32-bit) – All messages that were sent on this day.

TL Schema

searchResultsCalendarPeriod#c9b0539f
date:int
min_msg_id:int
max_msg_id:int
count:int

= SearchResultsCalendarPeriod

Parameter Tree

SearchResultsCalendarPeriod
├── dateint
├── min_msg_idint
├── max_msg_idint
└── countint

Example

SearchResultsCalendarPeriod(
    date=0,
    min_msg_id=0,
    max_msg_id=0,
    count=0,
)