Waffle Maybe

Results 144 comments of Waffle Maybe

_Actually_ I have a couple ideas of how to implement this (and even a WIP somewhere on my disk!). I can think of two ways mocking can be done: 1....

The rustdoc bug [got fixed](https://github.com/rust-lang/rust/issues/83375#event-7361214440), so I'm not really sure we should do this. ![locally built teloxide docs showing only a single prelude module](https://user-images.githubusercontent.com/38225716/192990059-6ee85835-af87-4226-be92-71aae53933e1.png) If we do want this, we...

I don't really remember what I've meant lol. I _think_ I've meant that if we'd want to add items to modules from `-core` (i.e. the same thing as with `prelude`,...

As this example should test inline queries, it probably will need user interaction. E.g.: it can be done as writing to console and/or sending messages like `"to test the bot...

At the moment const generics only work with primitives: ``` error: `&'static str` is forbidden as the type of a const generic parameter --> src/lib.rs:1:19 | 1 | struct T

We've discussed this feature today and come to a conclusion that waiting for `&str`-const-generics is not the best idea and we should implement the feature in another way. Also I...

It seems like one of the main sources of functions that trigger `clippy::must_use_candidate` is payload setters generated by the [`impl_payload!`](https://github.com/teloxide/teloxide-core/blob/6e6cabb5b75cfc4d6bc64ea3f91db7f02e666bce/src/local_macros.rs#L300) internal macro. It should be fairly easy to add annotations...

Thanks for reporting! That's an annoying issue though 😅 We currently (ab)use the serde `#[rename]` feature, but with this error you can't just compare the string because of the variable...

The problem is that teloxide uses 17 second network timeout [by default] and iirc we did this since `0.1`. You can workaround this issue by increasing the timeout: ```rust let...