Closed bemyak closed 6 years ago
Hey, send only constructs the parsing and sending chain and returns a future which has to be resolved. You need to give it to the event loop. Either by a seperate handle or by returning it in the _andthen function.
let stream = bot.get_stream().and_then(|(bot, update)| {
// ...
bot.message(message.chat.id, message.text.unwrap()).send()
});
Oh, thank you, my bad!
When I try to send message from steam nothing happens:
Please point me to what I'm missing. Thank you!