all repos — telegram-bot-api @ a274ce7a9f689a8804c8d3c4d499225ed224c54a

Golang bindings for the Telegram Bot API

a274ce7a
remove a useless test, add test for IsSuperGroup
Syfaro syfaro@foxpaw.in
Wed, 09 Dec 2015 20:13:31 -0600
c3304ed8
update Message struct for new fields, add IsSuperGroup to Chat struct
Syfaro syfaro@foxpaw.in
Wed, 09 Dec 2015 20:08:37 -0600
a835dc9a
Mention Let's Encrypt in README, instead of generating own certs
Syfaro syfaro@foxpaw.in
Wed, 09 Dec 2015 20:07:13 -0600
6960b6fd
Remove ReplyMarkup interface from MessageConfig, fixes #30
Syfaro syfaro@foxpaw.in
Wed, 25 Nov 2015 09:08:03 -0600
06d94aee
mention changes in readme, say how to update apps for changes
Syfaro syfaro@foxpaw.in
Sun, 22 Nov 2015 09:04:12 -0600
b034326d
Merge pull request #29 from zhulik/master

Major overhaul to make everything easier to use
Syfaro syfaro@foxpaw.in
Sun, 22 Nov 2015 08:49:36 -0600
a1207f63
allow ChannelUsername instead of ChatID, fix replies with SendPhoto
Syfaro syfaro@foxpaw.in
Wed, 04 Nov 2015 09:46:01 -0600
0d2feed6
fix UploadFile not properly throwing an error when not Ok response
Syfaro syfaro@foxpaw.in
Mon, 26 Oct 2015 08:02:46 -0500
e1a0a819
Added a few helper methods for the type of Chat on the Chat type
Syfaro syfaro@foxpaw.in
Fri, 09 Oct 2015 09:31:00 -0500
8e71d1db
New Telegram Chat type, instead of previous UserOrGroupChat type
Syfaro syfaro@foxpaw.in
Fri, 09 Oct 2015 09:26:38 -0500
7092cefe
add missing const
Syfaro syfaro@foxpaw.in
Sat, 19 Sep 2015 13:42:50 -0500
1bbe8c7b
fix broken const
Syfaro syfaro@foxpaw.in
Sat, 19 Sep 2015 13:41:55 -0500
6b9324ca
helper method to generate a link for a file
Syfaro syfaro@foxpaw.in
Sat, 19 Sep 2015 10:53:32 -0500
1bceea1c
new getFile and File types from Telegram Bot API update
Syfaro syfaro@foxpaw.in
Sat, 19 Sep 2015 10:46:20 -0500
3ce6dbab
Merge pull request #23 from gobwas/patch-1

Update webhook.go
Syfaro syfaro@foxpaw.in
Mon, 14 Sep 2015 07:45:18 -0500
7c48fa5d
Merge pull request #24 from jqs7/master

variable declaration fix for webhook example
Syfaro syfaro@foxpaw.in
Mon, 14 Sep 2015 07:42:19 -0500
236ac39b
Merge pull request #22 from jqs7/master

add markdown support
Syfaro syfaro@foxpaw.in
Sat, 12 Sep 2015 09:09:48 -0500
8b33fd5a
example for new webhooks
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 13:17:38 -0500
b2d2f4f5
add a http listener for webhooks that uses the normal updates chan
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 13:09:08 -0500
3b466def
fixed setting webhooks with a certificate
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 12:47:31 -0500
9efd3005
fix typo in debug log for setWebhook
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 12:32:16 -0500
ca40caaa
add (untested) function to set webhook with certificate
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 11:44:29 -0500
87a27982
Merge branch 'master' of github.com-syfaro:Syfaro/telegram-bot-api
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 11:35:05 -0500
e48e6416
allow passing a []byte or io.Reader to upload functions, closes #20
Syfaro syfaro@foxpaw.in
Mon, 07 Sep 2015 11:20:43 -0500
766f7494
Merge pull request #16 from jqs7/master

update to latest telegram bot api
Syfaro syfaro@foxpaw.in
Mon, 17 Aug 2015 21:48:30 -0500
d54197d7
mention encodeaudio function on sendaudio function
Syfaro syfaro@foxpaw.in
Mon, 10 Aug 2015 16:02:29 -0500
b92bbece
fix docs in encodeaudio, remove log
Syfaro syfaro@foxpaw.in
Mon, 10 Aug 2015 15:58:15 -0500
3a401563
utils package, currently only for converting audio files
Syfaro syfaro@foxpaw.in
Mon, 10 Aug 2015 15:55:46 -0500
5a72ea68
switch to streaming multipart, reduces memory usage for uploads
Syfaro syfaro@foxpaw.in
Mon, 10 Aug 2015 07:41:44 -0500
d06eead6
don't panic for failed updates, even in debug (fixes #14)
Syfaro syfaro@foxpaw.in
Sun, 09 Aug 2015 21:12:15 -0500
adc490e3
Merge pull request #11 from emadgh/master

NewChatPhoto was string!
Syfaro syfaro@foxpaw.in
Wed, 05 Aug 2015 13:20:11 -0500
3fddac53
Merge pull request #10 from jqs7/master

add sendAudio duration
Syfaro syfaro@foxpaw.in
Tue, 04 Aug 2015 23:05:43 -0400
3c9ed7cf
Merge pull request #9 from jqs7/master

Updated to the last tgbot API
Syfaro syfaro@foxpaw.in
Tue, 04 Aug 2015 21:50:30 -0400
752bd45f
fix readme for updateschan changes
Syfaro syfaro@foxpaw.in
Fri, 31 Jul 2015 13:44:37 -0400
196f515d
helper functions on message
Syfaro syfaro@foxpaw.in
Fri, 31 Jul 2015 13:40:42 -0400
f605a516
string function for user
Syfaro syfaro@foxpaw.in
Fri, 31 Jul 2015 03:22:01 -0400
8907d30f
remove unneeded line in test
Syfaro syfaro@foxpaw.in
Wed, 29 Jul 2015 05:42:45 -0400
c12c67ad
basic tests/examples, don't return updates chan, cleaned text
Syfaro syfaro@foxpaw.in
Wed, 29 Jul 2015 05:41:41 -0400
5e5de566
remove unneeded else block
Syfaro syfaro@foxpaw.in
Tue, 28 Jul 2015 12:19:53 -0400
b0c8029a
fix wrong capitalization of a function name
Syfaro syfaro@foxpaw.in
Tue, 28 Jul 2015 12:18:50 -0400
dc198e23
Merge pull request #6 from raulsntos/master

Ability to pass a client instead of using http.DefaultClient
Syfaro syfaro@foxpaw.in
Tue, 28 Jul 2015 12:15:46 -0400
60337023
Merge pull request #5 from Nikita-V/patch-1

Fix parameter name
Syfaro syfaro@foxpaw.in
Wed, 22 Jul 2015 15:39:13 -0500
1b2d9a5c
Merge pull request #3 from sirlori/master

Little bugfix
Syfaro syfaro@foxpaw.in
Mon, 06 Jul 2015 15:07:02 -0500
b68832da
clarify scope of project in readme, update godoc link
Syfaro syfaro@foxpaw.in
Mon, 29 Jun 2015 22:55:58 -0500
2024a55b
slight code improvments, better language
Syfaro syfaro@foxpaw.in
Mon, 29 Jun 2015 22:44:12 -0500
74732506
Merge pull request #2 from jqs7/master

should not panic in production env
Syfaro syfaro@foxpaw.in
Mon, 29 Jun 2015 22:36:37 -0500
7b9b7856
add license
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 21:53:55 -0500
5698d47e
fix import in example in README
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 21:46:06 -0500
0105ee90
Merge pull request #1 from sirlori/master

Fix on the updaterequest
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 21:43:52 -0500
618a0193
example bot in readme
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 02:18:55 -0500
4acb279a
loop UpdatesChan so it keeps getting updates
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 02:12:09 -0500
a17651c8
fix all golint errors, add info about audio uploads
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 01:53:20 -0500
5b2104f9
update readme, remove not done yet
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 01:22:36 -0500
16acfd07
godoc link in readme
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 01:20:29 -0500
90c48448
more comments on things
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 01:19:29 -0500
07072ebc
comments for helpers
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 01:10:53 -0500
04d46c28
better comments for godoc
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 00:57:39 -0500
76460f8a
comments on methods
Syfaro syfaro@foxpaw.in
Fri, 26 Jun 2015 00:52:12 -0500
cea0df2d
fix silly mistakes
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 23:45:56 -0500
d789456a
load self when created
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 23:44:14 -0500
9cf4f137
change focus from bot to just bindings, code cleanup
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 23:26:24 -0500
5d6f84e9
update readme, bot init function
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 22:49:24 -0500
3940cb59
setup functions, plugin enabler, reply markup, example commands
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 16:15:28 -0500
567a3786
help plugin, working on plugin api
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 14:20:02 -0500
a7b8af6a
finish helper methods, add forgotten audio upload
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 11:57:50 -0500
224e585b
all API methods
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 11:50:24 -0500
059baffb
working file uploads, starting to clean up code
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 11:25:02 -0500
564e04b9
Create README.md
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 00:40:42 -0500
434756c1
initial commit, some api methods and structs for everything
Syfaro syfaro@foxpaw.in
Thu, 25 Jun 2015 00:34:05 -0500
4944eed2
one useless line removed
sirlandalf lorenzo.landolfi97@gmail.com
Sat, 27 Jun 2015 04:24:52 +0200
9f17771e
fixes
sirlandalf lorenzo.landolfi97@gmail.com
Sat, 27 Jun 2015 04:20:32 +0200
92ad1973
remove blank line
Jqs7 7@jqs7.com
Tue, 30 Jun 2015 11:33:26 +0800
69bb4a9c
update log message
Jqs7 7@jqs7.com
Tue, 30 Jun 2015 11:28:55 +0800
f6cf1bb7
should not panic in production env
Jqs7 7@jqs7.com
Tue, 30 Jun 2015 00:04:48 +0800
7f0dd9c5
little fix that sometimes causes crash
Lorenzo Landolfi lorenzo.landolfi97@gmail.com
Mon, 06 Jul 2015 21:25:18 +0200
44e25815
Merge pull request #1 from Syfaro/master

Merge this
Lorenzo Landolfi sirlori@users.noreply.github.com
Mon, 06 Jul 2015 21:21:26 +0200
fee84ee2
Fix parameter name
Nikita Vorobei dev@vorobei.by
Wed, 22 Jul 2015 19:10:27 +0300
3101266b
Fixed NewBotAPIWithClient
Raul Santos raulsntos@gmail.com
Tue, 28 Jul 2015 18:14:13 +0200
2483f043
Separate NewBotAPI from NewBotAPIwithClient
Raul Santos raulsntos@gmail.com
Tue, 28 Jul 2015 13:00:31 +0200
fc8cb6e0
Client is now a pointer
Raul Santos raulsntos@gmail.com
Tue, 28 Jul 2015 11:18:49 +0200
8249dd6a
Few bug fixes
Raul Santos raulsntos@gmail.com
Mon, 27 Jul 2015 00:22:10 +0200
612584db
Ability to pass a client to the bot

Changed every instance of a DefaultClient to a Client stored in the bot.
Raul Santos raulsntos@gmail.com
Mon, 27 Jul 2015 00:16:45 +0200
96a10444
Updated to the last tgbot API
Jqs7 7@jqs7.com
Wed, 05 Aug 2015 09:44:09 +0800
6bf83a81
add sendAudio duration
Jqs7 7@jqs7.com
Wed, 05 Aug 2015 09:55:48 +0800
ca93bb33
Fixed Message.NewChatPhoto
Emad Ghasemi emadghasemi_2006@yahoo.com
Wed, 05 Aug 2015 21:31:41 +0430
91e1825b
Update types.go
Emad Ghasemi emadghasemi_2006@yahoo.com
Wed, 05 Aug 2015 21:30:54 +0430
ae7c1b4e
merge upstream
Jqs7 7@jqs7.com
Tue, 18 Aug 2015 09:48:17 +0800
d537d26a
update to latest telegram bot api
Jqs7 7@jqs7.com
Tue, 18 Aug 2015 09:40:42 +0800
792234b4
Merge pull request #21 from eefret/master

closes #17 adding response to SetWebhook Method
Syfaro syfaro@foxpaw.in
Fri, 04 Sep 2015 11:21:22 -0500
4d3619d8
closes #17 adding response to SetWebhook Method
Christopher T. Herrera christopher.h@futurelinkcorporation.com
Fri, 04 Sep 2015 12:13:58 -0400
86e4fadc
add markdown support
Jqs7 7@jqs7.com
Sat, 12 Sep 2015 19:30:49 +0800
c72afc39
variable declaration fix for webhook example
Jqs7 7@jqs7.com
Mon, 14 Sep 2015 13:54:45 +0800
2a5bad0b
Move to simple pattern
gobwas gobwas@gmail.com
Mon, 14 Sep 2015 12:50:41 +0300
d1358d12
Update webhook.go

Why there is a hardcoded `bot.Token`? =)
Sergey Kamardin gobwas@gmail.com
Sun, 13 Sep 2015 21:56:43 +0300
667b68e5
Package path changed before merge
Gleb Sinyavsky zhulik.gleb@gmail.com
Sun, 22 Nov 2015 02:40:39 +0300
4037dbed
Lint issues fixed
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 19:43:24 +0300
d6387573
go fmt
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 17:39:19 +0300
5859ba39
Small updates. Readme updated
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 17:31:59 +0300
2a5cf865
Updates channel removed from BotAPI
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 17:26:28 +0300
6da34a6b
Message IsCommand method added
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 16:43:39 +0300
af029c36
Bot IsMessageToMe method
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 16:33:58 +0300
399d665b
Typo fix
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 16:28:25 +0300
6873dde3
Bot getFileDirectUrl method added
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 16:25:59 +0300
f8a3ac11
Small tests fix
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 15:36:55 +0300
65393999
Test refactored
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 15:34:30 +0300
0332f792
Readme updated
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:59:58 +0300
44711548
Travis added
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:56:11 +0300
b8bc7b99
Test example added
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:53:00 +0300
01899092
Readme update
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:51:35 +0300
45c6054a
Readme updated
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:50:11 +0300
c4515aa3
Small fixes
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:44:26 +0300
207a1a08
Tests added
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:36:43 +0300
9644984d
removeWebhook method added.
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:26:39 +0300
53dd9f63
Fixes, tests improved
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:22:08 +0300
c67df954
Tests added
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 13:17:34 +0300
a192540b
Many tests added. Small fixes
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 20:26:12 +0300
e16094f7
Tests improved
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 19:43:56 +0300
d0711736
Test added, small improvements
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 18:30:50 +0300
da026b43
Totally new, universal API
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 17:55:32 +0300
d3f7ac71
Refactorings
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 17:31:01 +0300
9361631c
Refactoring
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 17:08:53 +0300
54b9c7e1
Refactoring
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 15:15:34 +0300
d8ba9c84
Refactoring
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 15:01:05 +0300
92ce2aad
Refactoring, drying
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 14:50:23 +0300
4610c561
Drying
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 14:19:37 +0300
57a07c0c
Refactoring and DRYing
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 14:06:51 +0300
13a8bd02
Refactorings
Gleb Sinyavsky zhulik.gleb@gmail.com
Fri, 20 Nov 2015 13:42:26 +0300