Package org.bgerp.plugin.msg.max
Class Bot
java.lang.Object
org.bgerp.plugin.msg.max.Bot
MAX messenger bot.
Sends messages via REST API: POST {apiUrl}/messages?chat_id=XXX
Authorization via header: Authorization: TOKEN
Long polling: GET {apiUrl}/updates?marker=N&timeout=60
-
Method Summary
-
Method Details
-
getInstance
-
stop
public void stop()
-