stormstricker

Results 7 comments of stormstricker

The only way I managed to solve it is by adding a second bot to the same channel that gets the updates sent by the first bot. It works fine.

> https://core.telegram.org/bots/api#sendmessage > > > On success, the sent Message is returned How would I check it using the telegrambots library though? ```SendMessage m = execute(sendMessage);``` gives a `Incompatible types....

> https://core.telegram.org/bots/api#sendmessage > https://core.telegram.org/bots/api#message > > `Message` and `SendMessage` are different things > > `Message msg = execute(new SendMessage(...));` So would this check be correct? ``` org.telegram.telegrambots.meta.api.objects.Message m = null;...

> I would say that if `execute(...)` throws an exception, the SendMessage is not sent > Could you share the code where the opposite happens? The code is just the...

Thanks for this code and your stackoverflow answers! It's been very helpful for my projects.