I'm using Telegram Bot class library authored by RoundRobin, because of censorship and internet filtering it is a little bit hard to write and work with Telegram Bots. is it any direct way to use this API using SOCKS5? either for sending or listening to messages.
Related
As I understand, every WhatsApp chatbot interacts with users through WhatsApp but the actual backend is hosted in a server of its own.
I was wondering if there is any way to get information about this server or its API when interacting with the chatbot. I tried fiddling on WhatsApp web with the developer console, with the network tab, but it appears that WhatsApp does a really good job masking the core of the bots.
Has anyone had any luck getting information about WhatsApp chatbots?
Well from the question it's kinda already answered Meta uses just the response from the server from where the bot script is hosted after sending a webhook event to it so what you might be getting is gonna be info on the WhatsApp network... with the new Cloud API for WhatsApp business you could get more info on how the WhatsApp bot work
(https://developers.facebook.com/docs/whatsapp/cloud-api)
Is it possible to implement a bot or program to take over a communication on my behalf is such way that my friend not notice it's not me who is responding?
Can I do this with Hangouts Bot or I need to implement an application with Hangouts API?
Neither is possible. The Hangouts Chat API/Bots can only respond to messages addressed directly to the bot service account. It is not possible to intercept messages sent to other users.
Potentially, you could instead write a browser plugin to act on your behalf in a open chat windows.
I am working on a chatbot in NodeJs and we are using Ngrok to establish a tunnel, the problem we have for teams is that every time we relaunch Ngrok we get a diferent url so i have to manually change the messaging endpoint on the botframework website(under settings)
Is there a way to do this via the api? or maybe the SDK?
This was not an issue for other chat platforms but for Teams i cannot find this feature.
Claudiu
Unlike some other chat/bot platforms, Bot Framework (and therefore Teams) works by having the chat service initiate the connection to the bot instead of the other way around. That's why every bot requires an https: endpoint.
Ngrok is one way to do it without running the bot in the cloud, but as you note those temporary URLs only last 7 hours. You can purchase the premium version of Ngrok which lets you have static subdomains - for example at our Build conference I used https://build2018.ngrok.io.
One of our developers also created Tunnel Relay which you can download. The utility itself is free but you have to have an Azure subscription and use Azure Service Bus - which at the basic tier is $0.05 per million transactions. All the details, including a download link, are on the GitHub page linked above.
There is no public API for changing your bot's messaging endpoint. (If there were, it would be a great way to steal the traffic from other bots.)
Is there a way to "communicate" with Telegram BotFather via API to create and configure new bots without actually "chat" with it?
It could be useful to create a bot programmatically.
I'd like to know if a bot can subscribe to a channel, I don't seem to be able to do it.
Thanks
Actually a bot can can receive all the messages from a channel — it should be just a member of the channel. See What messages will my bot get? in the FAQ. But only a channel admin can "subscribe" a bot to the channel in such a way.
Another way is to use some programmable Telegram client application or library (thanks to the open MTProto protocol). For example, see Telethon library (Python3).