Skip to content
Notis

Check 2chat usage from a Telegram inline button

Add a simple, intentional button shortcut for retrieving 2chat usage before planning additional API requests.

Trigger

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

Action

Get API Usage Info

Tool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.

Why this helps

Remembering a multi-step capacity check can add friction when you are already planning API work.

  • Start a usage lookup with a single deliberate tap.
  • Retrieve account information along with API usage.
  • Support request planning with a quick capacity check.

Setup

Build it in a few focused steps.

  • 1Connect Telegram and 2chat to Notis once through the portal.
  • 2Create an automation in the portal or tell Notis what you want in plain language.
  • 3Ask Notis in one instruction to retrieve 2chat API usage when a designated Telegram inline button is tapped.
  • 4Select Telegram Callback Query Received as the trigger and choose where Notis should report runs.
  • 5Test by tapping the designated usage-check button on a Telegram bot message.

Questions about this workflow

Does a button tap reserve API capacity?

No. It retrieves current usage and account information; it does not reserve capacity or enforce quotas.

Why use a callback trigger?

It starts the workflow when someone taps an inline keyboard button attached to a bot message.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to 2chat. A trigger fires from one place; an action lands in another.

Telegram triggers

2chat actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Create Contact

Tool to create a new contact in your 2chat account. use after gathering and verifying first name and at least one contact detail (email, phone, or address).

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Get API Usage Info

Tool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.

ActionInstant

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

List Contacts

Tool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

List Webhook Subscriptions

Tool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Test API Key

Tool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

Connect any two apps with Notis in the middle.

Telegram and 2chat, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business 2chat.