Ruben Bermudez

Results 89 comments of Ruben Bermudez

@SUSTechDXiang can some unit tests be added for the validator?

It is a Telegram API side situation but we still have time until 2028: https://core.telegram.org/bots/api#message

Instant is not a valid type in the Bots API at all, so that error must not be coming from the API. Reg. DefaultAbsSender, you have AbsSender that allows you...

Not sure what exactly is needed here, any bot can implement the necessary filters for users in their onUpdateReceived method

That error means that you are calling the initialization more than one: https://github.com/rubenlagus/TelegramBots/blob/master/telegrambots/src/main/java/org/telegram/telegrambots/ApiContextInitializer.java#L18 There should be no problems tho

That means one of the links you are sending is incorrect, you should use valid ones. It is not an library issue, it is an error from Telegram.

@forrestrunning Just override your custom implementation of BotOptions and should be done: https://github.com/rubenlagus/TelegramBots/blob/master/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultBotOptions.java#L18

@zixuan2020 Please update the library, id from User object should be Long

It is a API limitation, can't do anything: https://core.telegram.org/bots/api#messageentity