messages.SearchGlobal#
- class pyrogram.raw.functions.messages.SearchGlobal#
Search for messages and peers globally.
- Details:
Layer:
158ID:
4BC6589A
- Parameters:
q (
str) – Query.filter (
MessagesFilter) – Global search filter.min_date (
int32-bit) – If a positive value was specified, the method will return only messages with date bigger than min_date.max_date (
int32-bit) – If a positive value was transferred, the method will return only messages with date smaller than max_date.offset_rate (
int32-bit) – Initially 0, then set to the next_rate parameter of messages.messagesSlice.offset_peer (
InputPeer) – Offsets for pagination.offset_id (
int32-bit) – Offsets for pagination.limit (
int32-bit) – Offsets for pagination.folder_id (
int32-bit, optional) – Peer folder ID.
- Returns: