# Get the next old post in a public channel — Telegram Public Channels Botize method — `public_channels.get_public_channel_post_in_date_range` (trigger). It is triggered each time a post is identified in a public channel that meets a specific age range, measured in days since its publication date. The search starts with the most recent posts and moves towards the older ones, considering an interval defined by a minimum and maximum number of days. This is a trigger: it starts the task. A task has exactly one. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `channel_link` *(string)* — Public Channel link - `min_days` *(string)* — Minimum number of days elapsed since publication - `max_days` *(string)* — Maximum number of days elapsed since publication It also accepts repeatable field groups, with these prefixes: `filter_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{chat_id}}` *(text)* — Chat Id. Unique identifier for a specific user, bot, chat or group. It is a text or numeric value and can be either a private chat between two users or a group chat with multiple participants. The chat_id is used by Telegram's API to identify the specific chat. . For example: -100489123323 - `{{message_id}}` *(int)* — Message Id. Unique identifier for the message. For example: 81 - `{{message}}` *(text)* — Message. Text content of the message that was received through the Telegram service. This field contains plain text, emojis and special characters. For example: Hello world - `{{message_html}}` *(text)* — Message HTML. Text content of the message that was received through the Telegram service. This field can contain any kind of text, including plain text, emojis, special characters, and even formatted text using markdown or HTML. For example: Hello world - `{{buttons_html}}` *(text)* — Buttons HTML. The HTML code that includes all the buttons that may be in a Telegram post. The buttons allow the user to interact with the post, for example, to open a link, to reply the message, to join a group, etc. - `{{post_datetime}}` *(text)* — Post Date-time. Date and time when the message was sent. For example: 2023-01-23T03:45:35+00:00 - `{{image_url}}` *(text)* — Image URL. URL of any image included in the message. For example: https://cdn5.telegram-cdn.org/file/RhsCvQENlt30ibIhX.jpg - `{{edited}}` *(boolean)* — Edited post. The post has or has not been edited. For example: true ## This app Every trigger and action for Telegram Public Channels: https://botize.com/en/app/public_channels.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/public_channels/get_public_channel_post_in_date_range