Commit Graph

19 Commits (ab25fcf6fa1f2886c2797fddc21e82666d768850)

Author SHA1 Message Date
Ilya Kowalewski 6e16b55de1 Getting rid of excessive error types, switching to fmt.Errorf 9 years ago
llya Kowalewski 1601444837 Merge pull request #14 from ejamesc/master
Change API to return error on 500 http status.
9 years ago
Cedric Chin f7c3d4f9d2 Change API to return error on 500 http status.
- The Telegram API does not return well-formed JSON when there is an 
Internal Server Error. This results in incomprehensible errors.
9 years ago
Ronmi Ren ab11be604a Support new API: markdown message. 9 years ago
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
Ronmi Ren e89b28808b Support custom keyboard 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 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 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 d2435c4688 Message forwarding 9 years ago
Ilya Kowalewski 7da336849b A little bit refactoring on API calls 9 years ago
Ilya Kowalewski 745b4bc76f Sending messages: basic functionality 9 years ago
Ilya Kowalewski 25b2575f10 Message handling: Listen(), AddListener(), Listener 9 years ago