Gateway from the Telegram messenger into flespi acts as a Telegram bot that receives text and location messages from users and delivers them into the flespi channel. There is also a command that instructs the channel to send a text message back to the user from the bot.
Please read detailed instructions on how to create and use this channel.
flespi team created @WialonHostingBot for demo purposes so that you can forward location and text messages to Wialon Hosting in one click. To receive Telegram messages into the Wialon units, create the unit of the flespi gateway type and enter the unique ID given by the bot. With this protocol, you can create similar channels and configure them the way you want.
It is now also possible to send a setting with a message to the Telegram-type device via the flespi panel GUI or respective API call. To do so, you have to create a flespi device of the telegram device type. Use the ID issued by your bot as a User identifier. Once created, navigate to the Settings tab on the device screen and find the "Send a message to the user" setting in the Actions section. Type the message and click the Send icon to get it in your Telegram bot.
ID of channel that received a message
User's chat identifier
ID of device that received a message
Name of device that received a message
ID of device type of device that received a message
Driver text message content
Device unique identifier like serial number, IMEI, etc
Image binary data in JPEG format, base64 encoded
Name of image file captured by camera
IP:port from which device connecting to the channel
Heading angle at position detection moment
Latitude coordinate value
Longitude coordinate value
ID of protocol
Timestamp when server received a message