Support Bot API 3.6?
Hi, I was playing around with this library, mainly to test the Telegram login widget. According to this documentation, the login workflow is as follows:
- The website owner creates a Telegram bot, and set website domain via BotFather;
- When a user login with his Telegram account, he can choose to allow the associated bot to send messages to him;
- The bot will receive a message (in a private chat with this user), containing
connected_websitefield. This message indicates that this user just logs in. From now on the bot could start sending messages to this chat.
I just tested with a fake domain (local.test, pointing to 127.0.0.1 via /etc/hosts) and a newly created bot. By using the print_everything example, no update is printed when I login. Is this APi feature not supported yet? Despite being a Rust newbie, how can I help doing something useful here? Thanks.
Hey, thanks for the interest. I was a bit inactive recently and haven't heard about this feature. One thing which is definitely missing is the connected_website field in object.rs. Perhaps you can add it and then retry your experiment.