Commit Graph

315 Commits (ec221ba9ea458cd5386c35dd90af04b8a895f8eb)

Author SHA1 Message Date
Gleb Sinyavsky af029c366c Bot IsMessageToMe method 2015-11-21 16:33:58 +03:00
Gleb Sinyavsky 399d665b0a Typo fix 2015-11-21 16:28:25 +03:00
Gleb Sinyavsky 6873dde3ab Bot getFileDirectUrl method added 2015-11-21 16:25:59 +03:00
Gleb Sinyavsky f8a3ac11b2 Small tests fix 2015-11-21 15:36:55 +03:00
Gleb Sinyavsky 653939995c Test refactored 2015-11-21 15:34:30 +03:00
Gleb Sinyavsky 0332f792db Readme updated 2015-11-21 14:59:58 +03:00
Gleb Sinyavsky 447115488b Travis added 2015-11-21 14:56:11 +03:00
Gleb Sinyavsky b8bc7b9939 Test example added 2015-11-21 14:53:00 +03:00
Gleb Sinyavsky 018990922c Readme update 2015-11-21 14:51:35 +03:00
Gleb Sinyavsky 45c6054aa7 Readme updated 2015-11-21 14:50:11 +03:00
Gleb Sinyavsky c4515aa388 Small fixes 2015-11-21 14:44:26 +03:00
Gleb Sinyavsky 207a1a08f2 Tests added 2015-11-21 14:36:43 +03:00
Gleb Sinyavsky 9644984dae removeWebhook method added. 2015-11-21 14:26:39 +03:00
Gleb Sinyavsky 53dd9f6367 Fixes, tests improved 2015-11-21 14:22:08 +03:00
Gleb Sinyavsky c67df95407 Tests added 2015-11-21 13:17:34 +03:00
Gleb Sinyavsky a192540b8c Many tests added. Small fixes 2015-11-20 20:26:12 +03:00
Gleb Sinyavsky e16094f76a Tests improved 2015-11-20 19:43:56 +03:00
Gleb Sinyavsky d0711736ec Test added, small improvements 2015-11-20 18:30:50 +03:00
Gleb Sinyavsky da026b435e Totally new, universal API 2015-11-20 17:55:32 +03:00
Gleb Sinyavsky d3f7ac7197 Refactorings 2015-11-20 17:31:01 +03:00
Gleb Sinyavsky 9361631c6d Refactoring 2015-11-20 17:08:53 +03:00
Gleb Sinyavsky 54b9c7e14b Refactoring 2015-11-20 15:15:34 +03:00
Gleb Sinyavsky d8ba9c84c8 Refactoring 2015-11-20 15:01:05 +03:00
Gleb Sinyavsky 92ce2aad94 Refactoring, drying 2015-11-20 14:50:23 +03:00
Gleb Sinyavsky 4610c561c6 Drying 2015-11-20 14:19:37 +03:00
Gleb Sinyavsky 57a07c0c22 Refactoring and DRYing 2015-11-20 14:06:51 +03:00
Gleb Sinyavsky 13a8bd025c Refactorings 2015-11-20 13:42:26 +03:00
Syfaro a1207f6391 allow ChannelUsername instead of ChatID, fix replies with SendPhoto 2015-11-04 09:46:01 -06:00
Syfaro 0d2feed6c2 fix UploadFile not properly throwing an error when not Ok response 2015-10-26 08:02:46 -05:00
Syfaro e1a0a819c0 Added a few helper methods for the type of Chat on the Chat type 2015-10-09 09:31:00 -05:00
Syfaro 8e71d1db32 New Telegram Chat type, instead of previous UserOrGroupChat type 2015-10-09 09:26:38 -05:00
Syfaro 7092cefe65 add missing const 2015-09-19 13:42:50 -05:00
Syfaro 1bbe8c7bd2 fix broken const 2015-09-19 13:41:55 -05:00
Syfaro 6b9324ca39 helper method to generate a link for a file 2015-09-19 10:53:32 -05:00
Syfaro 1bceea1ca5 new getFile and File types from Telegram Bot API update 2015-09-19 10:46:20 -05:00
Syfaro 3ce6dbabe0 Merge pull request #23 from gobwas/patch-1
Update webhook.go
2015-09-14 07:45:18 -05:00
Syfaro 7c48fa5dbb Merge pull request #24 from jqs7/master
variable declaration fix for webhook example
2015-09-14 07:42:19 -05:00
gobwas 2a5bad0be4 Move to simple pattern 2015-09-14 12:50:41 +03:00
Jqs7 c72afc396b variable declaration fix for webhook example 2015-09-14 13:54:45 +08:00
Sergey Kamardin d1358d12aa Update webhook.go
Why there is a hardcoded `bot.Token`? =)
2015-09-13 21:56:43 +03:00
Syfaro 236ac39b34 Merge pull request #22 from jqs7/master
add markdown support
2015-09-12 09:09:48 -05:00
Jqs7 86e4fadcb0 add markdown support 2015-09-12 19:30:49 +08:00
Syfaro 8b33fd5a50 example for new webhooks 2015-09-07 13:17:38 -05:00
Syfaro b2d2f4f5b0 add a http listener for webhooks that uses the normal updates chan 2015-09-07 13:09:08 -05:00
Syfaro 3b466def71 fixed setting webhooks with a certificate 2015-09-07 12:47:31 -05:00
Syfaro 9efd300516 fix typo in debug log for setWebhook 2015-09-07 12:32:16 -05:00
Syfaro ca40caaa47 add (untested) function to set webhook with certificate 2015-09-07 11:44:29 -05:00
Syfaro 87a279827e Merge branch 'master' of github.com-syfaro:Syfaro/telegram-bot-api 2015-09-07 11:35:05 -05:00
Syfaro e48e6416e7 allow passing a []byte or io.Reader to upload functions, closes #20 2015-09-07 11:20:43 -05:00
Syfaro 792234b42e Merge pull request #21 from eefret/master
closes #17 adding response to SetWebhook Method
2015-09-04 11:21:22 -05:00