Setting up Telegram
Create a Telegram bot for the boat, give Bosun its token, link each crew member's account and, if you want, limit the bot to your own chats.
On Telegram, Bosun answers through a bot that you create for the boat. Bosun polls Telegram for new messages from on board, so the bot works behind marina Wi-Fi and on a slow satellite link, as long as the boat has internet. For what you can ask once it is set up, see Messaging Bosun from ashore.
Create the bot
- In Telegram, open a chat with @BotFather and send
/newbot. - Answer its questions: a display name, such as the boat's name, then a username for the bot.
- BotFather replies with a token: a long code made of digits, a colon, then letters and digits. Keep it private. Anyone who has it can control the bot.
Give Bosun the token
- On a device on the boat's Wi-Fi, open Bosun's Settings, then the Vessel Config tab, and find the Telegram card under Connections & data.
- Paste the token into Token.
- Switch on Enabled.
The change takes effect straight away, with no restart. Bosun checks the token's shape. A code without the digits and colon is refused with invalid token format.
To check the link, open the Connectivity & Power tab. The Data Budget & Transports card shows Telegram as Connected, with the bot's username.
Say hello
Find your bot in Telegram by its username and send /start. Bosun replies with its welcome, starting Welcome aboard!
If your account is not yet linked to the crew list, Bosun also offers to ask the skipper to let you aboard, with an Ask to join button. Crew don't need it: link your account instead, as below.
Link each crew member's account
Bosun knows a Telegram user only once they have linked their account to their crew record. Until then they are a guest: they can ask, but anything that changes the boat needs the skipper.
- On the Crew page, make sure the person's record has their mobile number.
- In their private chat with the bot, they send
/link. Bosun asks them to share their number. - They tap Share my phone number. Bosun replies Linked to followed by their name.
| Bosun replies | What it means |
|---|---|
| That number is not on the crew list. Ask the skipper to add it first. | Add the number to their record on the Crew page, then /link again. |
| Share your own contact, please, not someone else's. | They shared a contact card. Use the Share my phone number button. |
| Couldn't link that number. Try again. | Send /link again. |
/link works only in a private chat with the bot, not in a group.
Commands
Type / in the chat to see Bosun's commands. Each one asks the same as the matching question:
/status, /anchor, /wind, /weather, /briefing, /tide, /safety, /position, /depth, /speed, /traffic, /eta, /battery, /sunset and /talk, plus /start and /link.
When Bosun needs a yes, it shows buttons. Once someone taps one, the buttons grey out and the chosen one is marked, so a second phone cannot pick the other answer.
Limit who can use the bot
With no list set, the bot answers every chat that writes to it. To limit it, add chat IDs to Allowed Ids on the Telegram card. Then:
- every chat not on the list is ignored, and gets no alerts;
- crew who have linked their account still get through in their private chat, without being listed;
- a group chat must be on the list to be heard.
If the Allowed Ids field is not shown, ask whoever installed Bosun or support to set the list.
Turn it off
Switch off Enabled on the Telegram card. The bot stops answering at once. Switch it on again to resume with the same token.
Something not working? See Messages not arriving.