bytesnake / telebot

Write Telegram bots in Rust with Tokio and Futures
Other
212 stars 33 forks source link

Support Bot API 3.6? #45

Open JokerQyou opened 6 years ago

JokerQyou commented 6 years ago

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:

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.

bytesnake commented 6 years ago

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.