Commit Graph

118 Commits (5859ba397020f3651e609786fd1118fa55765434)

Author SHA1 Message Date
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
Christopher T. Herrera 4d3619d856 closes #17 adding response to SetWebhook Method 2015-09-04 12:13:58 -04:00
Syfaro 766f7494e9 Merge pull request #16 from jqs7/master
update to latest telegram bot api
2015-08-17 21:48:30 -05:00
Jqs7 ae7c1b4e22 merge upstream 2015-08-18 09:48:17 +08:00
Jqs7 d537d26a2b update to latest telegram bot api 2015-08-18 09:40:42 +08:00
Syfaro d54197d756 mention encodeaudio function on sendaudio function 2015-08-10 16:03:13 -05:00
Syfaro b92bbece9f fix docs in encodeaudio, remove log 2015-08-10 15:58:15 -05:00
Syfaro 3a401563b5 utils package, currently only for converting audio files 2015-08-10 15:55:46 -05:00
Syfaro 5a72ea6814 switch to streaming multipart, reduces memory usage for uploads 2015-08-10 07:41:44 -05:00
Syfaro d06eead68d don't panic for failed updates, even in debug (fixes #14) 2015-08-09 21:12:15 -05:00
Syfaro adc490e379 Merge pull request #11 from emadgh/master
NewChatPhoto was string!
2015-08-05 13:20:11 -05:00
Emad Ghasemi ca93bb337c Fixed Message.NewChatPhoto 2015-08-05 21:31:41 +04:30
Emad Ghasemi 91e1825b16 Update types.go 2015-08-05 21:30:54 +04:30
Syfaro 3fddac5396 Merge pull request #10 from jqs7/master
add sendAudio duration
2015-08-04 23:05:43 -04:00
Jqs7 6bf83a8185 add sendAudio duration 2015-08-05 09:55:48 +08:00
Syfaro 3c9ed7cfe2 Merge pull request #9 from jqs7/master
Updated to the last tgbot API
2015-08-04 21:50:30 -04:00
Jqs7 96a104444e Updated to the last tgbot API 2015-08-05 09:44:09 +08:00
Syfaro 752bd45f4c fix readme for updateschan changes 2015-07-31 13:44:37 -04:00
Syfaro 196f515db7 helper functions on message 2015-07-31 13:40:42 -04:00
Syfaro f605a516c0 string function for user 2015-07-31 03:22:01 -04:00
Syfaro 8907d30fe0 remove unneeded line in test 2015-07-29 05:42:45 -04:00
Syfaro c12c67adde basic tests/examples, don't return updates chan, cleaned text 2015-07-29 05:41:41 -04:00
Syfaro 5e5de566ee remove unneeded else block 2015-07-28 12:19:53 -04:00
Syfaro b0c8029a0f fix wrong capitalization of a function name 2015-07-28 12:18:50 -04:00
Syfaro dc198e2346 Merge pull request #6 from raulsntos/master
Ability to pass a client instead of using http.DefaultClient
2015-07-28 12:15:46 -04:00
Raul Santos 3101266b61 Fixed NewBotAPIWithClient 2015-07-28 18:14:13 +02:00
Raul Santos 2483f04397 Separate NewBotAPI from NewBotAPIwithClient 2015-07-28 13:00:31 +02:00
Raul Santos fc8cb6e039 Client is now a pointer 2015-07-28 11:18:49 +02:00
Raul Santos 8249dd6a93 Few bug fixes 2015-07-27 00:22:10 +02:00
Raul Santos 612584dbd3 Ability to pass a client to the bot
Changed every instance of a DefaultClient to a Client stored in the bot.
2015-07-27 00:16:45 +02:00
Syfaro 60337023c5 Merge pull request #5 from Nikita-V/patch-1
Fix parameter name
2015-07-22 15:39:13 -05:00
Nikita Vorobei fee84ee239 Fix parameter name 2015-07-22 19:10:27 +03:00
Syfaro 1b2d9a5c42 Merge pull request #3 from sirlori/master
Little bugfix
2015-07-06 15:07:02 -05:00
Lorenzo Landolfi 7f0dd9c504 little fix that sometimes causes crash 2015-07-06 21:25:18 +02:00
Lorenzo Landolfi 44e25815ef Merge pull request #1 from Syfaro/master
Merge this
2015-07-06 21:21:26 +02:00
Syfaro b68832daa6 clarify scope of project in readme, update godoc link 2015-06-29 22:55:58 -05:00
Syfaro 2024a55b87 slight code improvments, better language 2015-06-29 22:44:12 -05:00
Syfaro 7473250643 Merge pull request #2 from jqs7/master
should not panic in production env
2015-06-29 22:36:37 -05:00
Jqs7 92ad19733b remove blank line 2015-06-30 11:33:26 +08:00
Jqs7 69bb4a9c33 update log message 2015-06-30 11:28:55 +08:00
Jqs7 f6cf1bb782 should not panic in production env 2015-06-30 00:04:48 +08:00
Syfaro 7b9b7856fc add license 2015-06-26 21:53:55 -05:00
Syfaro 5698d47edd fix import in example in README 2015-06-26 21:46:06 -05:00
Syfaro 0105ee9097 Merge pull request #1 from sirlori/master
Fix on the updaterequest
2015-06-26 21:43:52 -05:00
sirlandalf 4944eed2fa one useless line removed 2015-06-27 04:24:52 +02:00
sirlandalf 9f17771ecd fixes 2015-06-27 04:20:32 +02:00
Syfaro 618a019388 example bot in readme 2015-06-26 02:18:55 -05:00
Syfaro 4acb279a67 loop UpdatesChan so it keeps getting updates 2015-06-26 02:12:09 -05:00