Commit Graph

156 Commits (ff0015f00481d432366c780ee4275ead36ed9e55)
 

Author SHA1 Message Date
llya Kowalewski 4b7ee3b796 Merge pull request #23 from reddec/feature/close_connection
Fix close connection after usage
9 years ago
RedDec 5f730d77ec Close connection after usage. 9 years ago
llya Kowalewski ab25fcf6fa Merge pull request #22 from shoonoise/master
Fix README example (send options)
9 years ago
Alexander bd05f8e4f7 Fix README example 9 years ago
Ilya Kowalewski 72ce8fae88 Fixing #21 issue, introducing Recipient interface 9 years ago
Ilya Kowalewski 74d63a4754 Merging #20 into tucnak:master from aladine:patch-3 9 years ago
Ilya Kowalewski 752af53a8a Pushing sensitive TELEGRAM_SECRET in Travis, praise da FOSS! 9 years ago
Ilya Kowalewski 6e16b55de1 Getting rid of excessive error types, switching to fmt.Errorf 9 years ago
Ilya Kowalewski 613d4d239e Funky travis button added 9 years ago
Ilya Kowalewski af44d8f63e Travis embedded 9 years ago
llya Kowalewski 62ade911f7 Merge pull request #19 from superhacker777/master
Code bloating fixes, typo away
9 years ago
Anton Volodin faeff79108 DRY condition fix 9 years ago
Anton Volodin e38f2bd56c Another code bloat fixes 9 years ago
Anton Volodin 761191f50a Typo fix in ReplyMarkup structure 9 years ago
Anton Volodin e9e91531ad A little code bloat fix 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
llya Kowalewski 1492f3688f Merge pull request #10 from aaomidi/master
Update README.md
9 years ago
llya Kowalewski 32efe8ce78 Merge pull request #12 from Ronmi/markdown
Support new API: markdown message.
9 years ago
Ronmi Ren 32d0662cde update documentation 9 years ago
Ronmi Ren ab11be604a Support new API: markdown message. 9 years ago
Amir Ali Omidi 36ffa89aa6 Update README.md
Fixed the SendAudio documentation
9 years ago
llya Kowalewski 5db9cc7c56 Merge pull request #8 from Ronmi/master
Fix: type in json key `resize_keyboard`
9 years ago
Ronmi Ren cc123431f8 fix typo in json key 9 years ago
Ilya Kowalewski 0192b0946f go fmt 9 years ago
llya Kowalewski 4a633dc640 Merge pull request #5 from Ronmi/issue
Doing long polling in Bot.Listen to ensure message order
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
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