Skip to content
Notis

Reinitialize BotStar live chat from a Telegram request

Turn a configuration request into a focused BotStar widget refresh when the needed update data is available.

Trigger

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.

Action

Livechat boot

Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.

Why this helps

Widget setup changes can get buried in chat, leaving founders to remember and repeat a manual refresh later.

  • Make widget refresh requests easier to act on
  • Reduce the chance of a configuration task being forgotten
  • Keep setup work connected to its request

Setup

Build it in a few focused steps.

  • 1Connect Telegram and BotStar to Notis once through the portal.
  • 2Create an automation in the portal or ask Notis to create it conversationally.
  • 3Write one prompt explaining which Telegram configuration requests should reinitialize the BotStar widget and what provided data to use.
  • 4Pick New Message Received as the trigger and choose a channel for run reports.
  • 5Test with one real refresh request and confirm the widget configuration is updated.

Questions about this workflow

Can this refresh a widget without any configuration data?

The action reinitializes the widget with provided data, so specify the intended data in the prompt or available context.

Is this a routine action for all Telegram messages?

No. The prompt should limit it to messages requesting a live chat configuration refresh.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Telegram triggers

Botstar actions

Recurring trigger

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

TriggerScheduled

BotStar LiveChat onClose Callback

Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console."

ActionInstant

Webhook trigger

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

TriggerInstant

Get BotStar Application IDs

Tool to retrieve the botstar application id (`appid`). use when initializing or reinitializing the live chat widget.

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

Livechat boot

Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.

ActionInstant

New Channel Post

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

TriggerInstant

Close BotStar Livechat Widget

Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.

ActionInstant

Callback Query Received

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

TriggerInstant

Livechat on open

Tool to register a callback when the chat window is opened. use after widget initialization.

ActionInstant

Message Edited

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

TriggerInstant

Livechat open

Tool to show the live chat window. use after the widget has been bootstrapped with botstarapi('boot') to programmatically open the chat window (mode must be 'livechat' or 'popup').

ActionInstant

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

Livechat update

Tool to update user details on the current live chat session. use when you need to modify user profile attributes during an active conversation.

ActionInstant

Get BotStar Webview Parameter

Tool to retrieve a parameter value passed from the botstar chatbot to the webview. use inside onchatbotready after your page loads in modal mode with bs:input meta tags.

ActionInstant

Connect any two apps with Notis in the middle.

Telegram and Botstar, 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 Botstar.