Commit Graph

480 Commits (e6c93d3fdb4542df96d56032938e3918db5501fd)
 

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.
9 years ago
llya Kowalewski 89fca71055 Merge pull request #4 from Ronmi/master
Support custom keyboard
9 years ago
Ronmi Ren e89b28808b Support custom keyboard 9 years ago
llya Kowalewski 493d48ceb3 Merge pull request #3 from notatestuser/patch-1
Resolves #2 compatibility issue
9 years ago
Luke Plaster 79c044e8ec Easy older go compat
`go range` without loop values is new to 1.4. some of us are stuck with older go (wheezy backport is 1.3.3)
merge if you wish - this was a quick one
9 years ago
Ilya Kowalewski 40c91ee0b4 Added some API and tests 9 years ago
Ilya Kowalewski eaf9b17a54 Achieving final satisfaction with golint 9 years ago
Ilya Kowalewski 8dab2461ef Chat actions implemented 9 years ago
Ilya Kowalewski 5da873e39b Fix for even more lint warnings 9 years ago
Ilya Kowalewski fb0e91451e Significant API change, send options added 9 years ago
Ilya Kowalewski 8c49aeb84c A little readability fix 9 years ago
Ilya Kowalewski e041242bb2 Fixed a bunch of lint issues 9 years ago
Ilya Kowalewski 58956e3905 Update README to cover new features 9 years ago
Ilya Kowalewski 104a45344a Sending docs, stickers, videos and locations 9 years ago
Ilya Kowalewski 51d01479b6 Sending audio 9 years ago
Ilya Kowalewski 6a4863ece8 Sending photos, API improvements 9 years ago
Ilya Kowalewski 418934be9c Fix for a stupid arch solution 9 years ago
Ilya Kowalewski d2435c4688 Message forwarding 9 years ago
Ilya Kowalewski 8025e90746 Update README.md 9 years ago
Ilya Kowalewski 43bbb6b396 All message types and replying/forwarding from API covered. 9 years ago
Ilya Kowalewski fa51650dad A little more documentation, code cleanup 9 years ago
Ilya Kowalewski dbcd156645 Self-handshaking test (still failing) 9 years ago
Ilya Kowalewski dd4efff2f3 Listeners - gotta go, switching to range-based subscription 9 years ago
Ilya Kowalewski 7da336849b A little bit refactoring on API calls 9 years ago
Ilya Kowalewski 8f9cebcb53 Message fix for group chats 9 years ago
Ilya Kowalewski 745b4bc76f Sending messages: basic functionality 9 years ago
Ilya Kowalewski 25b2575f10 Message handling: Listen(), AddListener(), Listener 9 years ago
Ilya Kowalewski 37f537bfab Minor documentation fixes 9 years ago
Ilya Kowalewski 4bb4333bb1 Minimal auth functionality: Create() 9 years ago
llya Kowalewski 45451c0de3 Initial commit 9 years ago