Telegram
Search Queries
Chat Date Filter

Message Date Filter

Specifies the range for filtering by the group/channel chat date.
Note: Message date and chat date are not same

ChatDateFrom Payload

{
    "chat_date_filter": {
        "chat_date_from": "2024-10-14" //YYYY-MM-DD
    }
}

Example

import requests
 
url = 'https://api.darkrecon.cloud/dark-recon/telegram'
headers = {
  'Authorization': 'your api key here',
  'Content-Type': 'application/json'
}
data = {
  "chat_date_filter": {
      "chat_date_from": "2024-10-14"
  }
}
 
response = requests.post(url, headers=headers, json=data)
 
print(response.status_code)
print(response.json())
 
 

ChatDateTo Payload

{
    "chat_date_filter": {
        "chat_date_to": "2024-10-13" //YYYY-MM-DD
    }
}

Example

import requests
 
url = 'https://api.darkrecon.cloud/dark-recon/telegram'
headers = {
  'Authorization': 'your api key here',
  'Content-Type': 'application/json'
}
data = {
  "chat_date_filter": {
      "chat_date_to": "2024-10-13"
  }
}
 
response = requests.post(url, headers=headers, json=data)
 
print(response.status_code)
print(response.json())
 
 

ChatDateFrom AND ChatDateTo Payload

{
    "chat_date_filter": {
        "chat_date_from": "2024-10-13", //YYYY-MM-DD
        "chat_date_to": "2024-10-14" //YYYY-MM-DD
    }
}

Example

import requests
 
url = 'https://api.darkrecon.cloud/dark-recon/telegram'
headers = {
  'Authorization': 'your api key here',
  'Content-Type': 'application/json'
}
data = {
  "chat_date_filter": {
      "chat_date_from": "2024-10-13",
      "chat_date_to": "2024-10-14"
  }
}
 
response = requests.post(url, headers=headers, json=data)
 
print(response.status_code)
print(response.json())