Telegram, MAX and other messengers

You can write to the agent not only in the app but in a messenger too: the bot takes requests, sends answers and task reports, and asks questions with button cards. The conversation with the bot is not a separate one: it is your direct chat with the agent, and the app shows it with the same history.

Which messengers are available

MessengerPrivate chatGroupsChannels
Telegramready-made Samreshuuu bot or organization botyesorganization bot only
MAXready-made Samreshuuu bot or organization botyesno
Pachcaorganization bot onlynono
Microsoft Teams, Slackorganization bot onlyyesno

The ready-made Samreshuuu bot works right away, with nothing to set up. An organization bot carries your company's name and avatar and is connected by an admin (see Your own organization bot below).

How to connect a private chat with the bot

1

Open the messenger settings

Settings → Notifications & messengers, the Messengers card → Connect a messenger.

2

Pick a bot

Ready-made Samreshuuu bot for Telegram or MAX, or a row under Your organization's bots if an admin has connected them.

3

Confirm in the messenger

On a phone, the chat with the bot opens. On a computer, a QR code appears: point the phone camera at it. In the bot's reply, press Connect. If there is no button, expand No Connect button? and send the bot the code from the screen.

You can also start from the bot: write it anything. It replies with a greeting and a Connect button, the site asks you to sign in or sign up and brings you back to the chat. Messages sent before connecting (up to 5) are passed to the agent if you connect the chat within 60 min of the first one.

One chat per messenger

An account connects one private chat in each messenger. If the bot says another chat is already connected to your account, disconnect the old one in Settings → Notifications & messengers and connect the new one. A chat already connected to another account is disconnected there first.

You disconnect a chat in the same place, on the Messengers card. The bot stops writing to you, and other chats stay. If that messenger was the only address for some tasks' reports, the app warns you and offers to pick another one for them.

The bot asks for permission: what it is and where to answer

When the agent is about to change or send something (adjust a price, reply to a customer, create a deal), the bot sends a card saying exactly what will be done and in which service. It is the same question as in the app:

  • Approve: do it this once;
  • Reject: don't do it;
  • Always allow: do it and remember exactly this operation, so it goes through without asking next time.

Until you answer, the agent does not perform that action. You can answer in the bot or in the app, whichever is handier. Which actions are asked about and which go on their own is set in Settings → Capabilities → Auto-review: Approving actions.

Other messages that look like a permission request:

  • "An owner or admin of the organization approves this action, the card is already with them." Your organization has a rule that an admin approves such actions. Wait for their answer or write to them.
  • A key, a password, a payment or a step on a website (sign-in, captcha). This is done only in the app: keys are not sent in a chat, and a purchase cannot be approved in a chat. The bot says what is needed and gives a button to the app.
  • A Connect button in an unfamiliar chat. This connects the chat to an account. If someone else sent you the link, press Cancel.

How the bot differs from the app

The agent in the bot is the same: the same connected services, skills, memory and tasks. What differs is what the messenger itself can do.

AppBot in a messenger
Work in progresssteps, files and the agent's screen are visiblethe bot shows typing; during long work a "Working" message with a Stop button appears
Keys, passwords, purchasesentered and confirmed hereonly a button to the app
Fileslimits on the Limits pagein Telegram up to 20 MB
Weekly limit ran outnew messages are not sentthe agent answers on the GPT-6 Luna model
Group chat with several agentsassembled through "To:"a messenger group, the bot answers

More on the limit: Plans and limits.

Bot commands

CommandWhat it does
/stopstop the current answer
/clearclear the chat and start over; what the agent remembered is kept
/compactcompress the chat context into a summary
/statusplan and weekly limit
/connectconnect a group, a channel or sign in to the web version
/helphelp

The set of commands depends on the messenger: in Pachca, for example, /connect only opens sign-in to the web version.

How fast the bot answers

As fast as the agent in the app: the model and the work are the same, and the answer arrives in the chat whole once the agent is done. While it works:

  • the bot shows it is typing, and your message carries a mark that it was accepted;
  • if the work is long, a "Working" message appears with the current step and a Stop button;
  • a new message sent during the work is not lost: the bot replies that it is queued, and the agent takes it up next.

A slow answer usually comes from the work, not the bot: an export from a marketplace, parsing a large file, waiting for your answer on a card. If an answer takes longer than usual, open this chat in the app: it shows which step the agent is on.

Files in the bot

  • What you can send. Documents (PDF, Word, Excel, text), photos and voice messages. The agent receives a voice message as text, like a typed reply.
  • Size. In Telegram, files up to 20 MB reach the bot, which is Telegram's own limit. If a file is larger, the bot says so: send it in the app.
  • What is not read. For an attachment the bot does not parse, it asks you to describe the task in words or send a file.
  • Files from the agent arrive as attachments. If attaching fails, the bot sends a link, and the files stay in the app.

All file limits: Limits.

The bot in a group

The bot can be added to a messenger group where your team talks, and to a Telegram channel for task reports. In a group it answers only when mentioned with @ or when you reply to its message.

By default a group has no connected services, skills, tasks or personal memory: any member can write there. The agent's owner can open the group to their services with the Work with the owner's services switch in Settings → Notifications & messengers → Groups and channels. How to connect a group, what becomes available and on whose messages: Group chat.

Can the agent message a counterparty in a messenger by itself

Not in someone else's private Telegram or MAX chat. The bot writes only where it was connected: your private chat with the bot and your organization's groups and channels. The agent can reach a supplier, customer or contractor like this:

  • By email from its own address. The agent has its own address (Agents). It sends you the first email to a new address as a card for approval, and the reply comes back to the chat.
  • With a reply link. The agent prepares the text and a link, and you send them yourself in any messenger or by email. The person answers through the link without signing up, and the answer arrives in your chat with the agent.
  • Through a contact in Samreshuuu. If the counterparty also has an agent and you are each other's contacts, your agent writes to theirs.
  • Through a connected service. If customers write to you in a service connected under Integrations (a CRM, open lines, a business messenger), the agent answers them in that conversation when the connection has that right: Connected services.

Prepare a reply link for the supplier: ask when the next delivery is and how many units.

Your own organization bot

An organization bot carries your company's name and avatar and is needed for Pachca, Microsoft Teams and Slack, and for Telegram channels.

1

Connect the bot

An admin opens Settings → Notifications & messengers → Connect a messenger and picks the messenger under Organization bot. Telegram needs a bot token from @BotFather.

2

Choose who replies

In the Who replies row, pick an agent. Only an agent with Organization access answers in the bot; if there is none, Samreshuuu answers. Employees can write to the agent, while only the agent's owner can approve actions and send files.

3

Share the link with employees

Bot address for employees: an employee opens the bot, presses Start and connects in one tap.

For a Telegram bot to see more than commands in groups, turn off Group Privacy in @BotFather (/mybots → bot → Bot Settings → Group Privacy → Turn off) and invite the bot to the group again.

If the bot stopped writing

What you seeWhat to do
"Bot dialog stopped"You or the other person stopped the bot in the messenger. Open the chat with the bot and press Start or write any message. No need to reconnect
"the bot was removed" or "no right to post" in a groupAdd the bot back to the group and allow it to send messages. Delivery recovers on its own
"Messengers are unavailable under the organization's policy"An organization admin closed messengers. Write to the agent in the app
The bot says the chat is not connectedPress Connect in its message or send it the code from the site
"The bot token no longer works" (organization bot)An admin issues a new token in @BotFather and replaces it in the bot's settings

Frequently asked questions

How do I connect Telegram or MAX?

In Settings → Notifications & messengers, on the Messengers card, press Connect a messenger and pick the Ready-made Samreshuuu bot. A chat with the bot opens: press Connect in its reply. It also works the other way round: write to the bot yourself, it sends a Connect button, the site asks you to sign in and brings you back to the chat.

The bot sent a card asking for permission. What is it?

The agent is about to change or send something and asks you, just as in the app. Press Approve, Reject or Always allow. Until you answer, the agent does not perform that action. Which actions are asked about is set in Settings → Capabilities → Auto-review.

Why can't the bot in a group see MoySklad, the CRM or mail?

Other people write in a group, so by default the agent only replies with text there. The agent's owner can open the group to their services: Settings → Notifications & messengers → Groups and channels, then pick Work with the owner's services on the group's row. What becomes available then, and on whose messages, is on the Group chat page.

Can the agent message a supplier in Telegram by itself?

No: the bot writes only to chats where you or your organization connected it. The agent can write to a supplier by email from its own address or prepare a reply link that you send yourself in any messenger. The answer comes back to your chat.

What does the bot do when the weekly limit runs out?

In a messenger the agent keeps answering on the GPT-6 Luna model, while in the app new messages are not sent until the limit renews. The bot shows the remaining limit with the /status command.

See also

Was this page helpful?

Didn't find an answer? How to reach us