TelegramBotsExample icon indicating copy to clipboard operation
TelegramBotsExample copied to clipboard

how do you call sendMessage() method

Open ttpro1995 opened this issue 7 years ago • 1 comments

How to do call sendMessage() I don't see where you define or import and I don't know how to import

ttpro1995 avatar Jul 18 '18 08:07 ttpro1995

For long polling bot:

        try {
            execute(new SendMessage(chatId, text));
        } catch (TelegramApiException e) {
        }

aarystan avatar Aug 23 '18 10:08 aarystan