From Newsgroup: alt.bbs.synchronet
To: John Dovey
Re: Telegram and JavaScript
By: John Dovey to echicken on Fri Apr 22 2022 17:41:07
https://core.telegram.org/bots/webapps
This is probably a better url than the one I shared before.
Yes, thanks for that. This is sort of like what I thought you were describing at first.
I'm of two minds about this.
On one hand, it's a neat idea. Your bot can launch a mini website inside the Telegram app and present whatever UI it likes. You're no longer constrained to a typical chatbot interaction (typing commands, etc.). There's no need for the user to log in, Telegram makes assertions about who they are. It "feels" like part of the app; you don't have to leave the app; it's better than typing a bunch of commands to a bot.
On the other hand, the user could just go to a website instead, or we could have a mobile app. I'm not entirely sure what's being gained. Maybe a chatbot should just be a chatbot? I dunno. I'm sure my subconscious will ponder this for a while.
for them that happened to be a BBS. The Bot talks to "clients" by polling Telegram servers, so it should be possible for an SBBS installation to have a local bot to which many users could connect. The bot would simply provide an interface to services tbe BBS provides (echos, Netmail, file areas etc). One of the interesting things is that it would get around the
When I say "maybe a chatbot should just be a chatbot" I mean that typing questions/commands to it is the natural order of things, and interacting with it "should" be like having a chat. That said, typing a bunch of stuff on a mobile device is a miserable experience, so they're probably onto something here.
I'll go off on a tangent now and talk about an (unoriginal) idea I had a few years ago for a Synchronet bot "stack". Essentially there would be low level messaging-protocol drivers (eg. IRC, Telegram, Discord, BBS message bases) and high level bot modules providing functionality. It'd be running on the BBS and have full access to BBS data. The user experience would be pretty much the same no matter which protocol they were interacting with the bot via. (Unfortunately that only works if the UI is chat-based, unlike these Telegram WebApps.) That'd be one way of exposing BBS data to users on some chat system, though.
Other tangent: as cool as it might be to write the above, or simply create a Telegram bot that runs on Synchronet, it might be better to just create a proper web API for Synchronet. You could then write a bot using some existing bot framework, in your language of choice, and get data in and out of the BBS that way. This opens the door to many other possible integrations, and saves the work of writing a Telegram bot from scratch when it's already been done and done and done.
Anyway, that's my rambling on this topic for the moment. I'll be thinking about it.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com
---
þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
--- Synchronet 3.19c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113