Commit Graph

65 Commits

Author SHA1 Message Date
Ronmi Ren
77314762f1 This commit ensures we will not receive same message multiple times when
in bad network-speed environment. And message will be put to channel in
same order we receive from API call.

 * Bot.Listen(): Use only 1 goroutine. Do really long polling, not
   repeatly do short polling.
 * API.go: getUpdates(): as doing long polling, channel is not required.
2015-08-04 09:14:16 +08:00
Ronmi Ren
e89b28808b Support custom keyboard 2015-07-31 15:56:02 +08:00
Ilya Kowalewski
40c91ee0b4 Added some API and tests 2015-07-06 20:12:08 +03:00
Ilya Kowalewski
eaf9b17a54 Achieving final satisfaction with golint 2015-07-06 19:27:57 +03:00
Ilya Kowalewski
5da873e39b Fix for even more lint warnings 2015-07-06 16:53:59 +03:00
Ilya Kowalewski
fb0e91451e Significant API change, send options added 2015-07-06 16:46:51 +03:00
Ilya Kowalewski
8c49aeb84c A little readability fix 2015-07-04 13:12:19 +03:00
Ilya Kowalewski
e041242bb2 Fixed a bunch of lint issues 2015-07-03 21:58:29 +03:00
Ilya Kowalewski
104a45344a Sending docs, stickers, videos and locations 2015-07-03 19:25:04 +03:00
Ilya Kowalewski
51d01479b6 Sending audio 2015-07-03 15:27:18 +03:00
Ilya Kowalewski
6a4863ece8 Sending photos, API improvements 2015-07-02 21:39:39 +03:00
Ilya Kowalewski
d2435c4688 Message forwarding 2015-07-02 12:55:40 +03:00
Ilya Kowalewski
7da336849b A little bit refactoring on API calls 2015-06-26 22:20:08 +03:00
Ilya Kowalewski
745b4bc76f Sending messages: basic functionality 2015-06-26 19:12:54 +03:00
Ilya Kowalewski
25b2575f10 Message handling: Listen(), AddListener(), Listener 2015-06-26 10:34:10 +03:00