TelegramBots icon indicating copy to clipboard operation
TelegramBots copied to clipboard

javadoc & sendMessage

Open RGeorgy opened this issue 8 years ago • 10 comments

Sorry - no expert. Where can I download the javadoc file? SendMessage is depreciated - where can I find the new routine? Thanks ...

RGeorgy avatar Jul 30 '17 17:07 RGeorgy

I must admit that I also struggled a bit to find the instructions how to move from the deprecated to the new methods. I think that for most the problem is that the newest "How to update" post in the wiki is on the end of the page, not at top of the page.

Here is the post from the wiki at How To Update: To version 3.2

So for example

SendMessage sm = new SendMessage();
//TODO: add your code
execute(sm);

Clevero avatar Jul 30 '17 23:07 Clevero

thank you

pqdn avatar Jul 31 '17 08:07 pqdn

worked fine! Did I miss something with JavaDoc or any other suggestion to use executeAsync? Thank you very much .. Basically all is working

RGeorgy avatar Jul 31 '17 10:07 RGeorgy

This information should maybe be added to the @deprectated annotations.

stefan-kolb avatar Aug 01 '17 14:08 stefan-kolb

Thank you

ghost avatar Aug 09 '17 07:08 ghost

@stefan-kolb It was added to the How-To-Update guide.

rubenlagus avatar Aug 29 '17 10:08 rubenlagus

So... for information ... Why are they became depricated? What was the problem?

Fotomultman avatar Sep 11 '17 22:09 Fotomultman

Just to simplify the API since internally they were already callling same code. Now all those request can be done calling execute or executeAsync

rubenlagus avatar Sep 18 '17 08:09 rubenlagus

So where are the javadocs? I couldn't find them.

Kevin-Abd avatar Mar 28 '18 12:03 Kevin-Abd

where can I find how to male payments ?

Diorrr avatar Apr 03 '20 13:04 Diorrr