Syfaro
4d758f17d4
Add some missing fields, generalize configs, remove unneeded methods.
2018-10-08 23:05:24 -05:00
Syfaro
23ed97b145
Merge master into develop.
2018-10-08 03:13:50 -05:00
Syfaro
898e79fe47
Add initial support for sendMediaGroup.
2018-09-21 20:20:28 -05:00
Denis Orlikhin
0343f9ec27
Animation type support added
2018-09-06 15:46:02 +03:00
Yan Mihailov
a1b3e41878
added custom logger and SetLogger func
2018-08-07 00:15:37 +03:00
Syfaro
eafee51d2a
Merge pull request #166 from VOID001/del-patch
...
Add helper function NewDeleteMessage
2018-04-28 13:49:37 -05:00
Jianqiu Zhang
32775370ac
Add NewDeleteMessage
...
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
2018-04-22 18:40:58 +08:00
Syfaro
1aef8c8c45
Remove new methods that returned APIResponse.
2018-03-26 12:30:16 -05:00
Oleksandr Savchuk
57be988011
add setChatPhoto method
2018-03-05 17:05:32 +02:00
Lim Ming Wei
3b0c031730
minor typo in helpers.go
2018-01-09 11:51:17 +08:00
MrYadro
41814af2a0
Fixes and comments
2017-06-03 13:59:40 +07:00
MrYadro
42d132b90a
Payments API
2017-06-03 03:18:42 +07:00
Arman
ecc60d21b7
Added VideoNote support
2017-05-22 02:34:12 +04:30
Syfaro
f57724f783
Remove NewWebhookWithCertAndMaxConnections
...
This function is long and it is easy enough to just set the maximum
number of connections by modifying the returned struct.
2017-01-27 11:38:15 -06:00
Dmitry V
833e457376
Added max connections configuration option to SetWebHook
2017-01-17 17:18:26 +03:00
Syfaro
0a57807db7
Additional changes for Telegram API updates.
2016-11-24 23:50:35 -06:00
Syfaro
4f996f7f27
Add NewInlineQueryResultPhotoWithThumb for #54 .
2016-07-26 13:44:48 -05:00
Syfaro
13f31854a2
Clean up some formatting.
2016-06-02 15:57:39 -05:00
Maxim Martyanov
862c67342c
Rollback for backward compatibility, added NewInlineQueryResultArticleMarkdown and NewInlineQueryResultArticleHTML
2016-06-02 23:41:55 +03:00
Maxim Martyanov
64f1ab7a89
Add support for Markdown/HTML in NewInlineQueryResultArticle
2016-06-02 22:42:05 +03:00
Syfaro
7bf755956c
Add NewMessageToChannel for #45 .
2016-04-22 10:03:00 -05:00
Jqs7
b98d5c9b34
simplify append loop
2016-04-21 15:40:12 +08:00
boston
890c908551
fix EditMessageReplyMarkupConfig
2016-04-19 12:19:36 +05:00
Syfaro
a2483eb98b
Add helpers for callback queries.
2016-04-14 16:30:41 -05:00
Syfaro
0d1bc8c4e2
Add helpers for regular and inline keyboards.
2016-04-14 15:59:28 -05:00
Syfaro
e7b9f16e73
Add missing helpers, move helper tests to own file.
2016-04-14 14:00:45 -05:00
Syfaro
ee1d537565
Add more helpers, update README for v4 release.
2016-04-13 09:01:46 -05:00
Syfaro
1ceb22b273
Add helpers, change some items to pointers, add more inline results.
2016-04-13 08:22:58 -05:00
Syfaro
db12d94016
Add kick and unban methods, update some inline query result responses.
2016-04-12 08:56:05 -05:00
Syfaro
b971c58157
Update for larger Chat IDs.
2016-03-30 09:04:15 -05:00
Syfaro
645b5629ab
Add helpers for creating inline query results.
2016-03-30 09:04:15 -05:00
Syfaro
a7f8b9c291
Mention animated GIFs must be sent as document in NewPhotoUpload.
2016-01-08 09:16:47 -06:00
Syfaro
e8dfdeeeb9
Major documentation and code cleanup.
...
All documention is now less than 80 characters wide. Old methods now
show deprecated warnings. The Values/Params/Method functions are now
private. Types and configs have required and optional comments on
them. Simplified some function logic.
2016-01-03 16:54:24 -06:00
Gleb Sinyavsky
9644984dae
removeWebhook method added.
2015-11-21 14:26:39 +03:00
Gleb Sinyavsky
d0711736ec
Test added, small improvements
2015-11-20 18:30:50 +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
13a8bd025c
Refactorings
2015-11-20 13:42:26 +03:00
Syfaro
3b466def71
fixed setting webhooks with a certificate
2015-09-07 12:47:31 -05:00
Syfaro
ca40caaa47
add (untested) function to set webhook with certificate
2015-09-07 11:44:29 -05:00
Syfaro
e48e6416e7
allow passing a []byte or io.Reader to upload functions, closes #20
2015-09-07 11:20:43 -05:00
Jqs7
d537d26a2b
update to latest telegram bot api
2015-08-18 09:40:42 +08:00
Syfaro
a17651c8fe
fix all golint errors, add info about audio uploads
2015-06-26 01:53:20 -05:00
Syfaro
07072ebce7
comments for helpers
2015-06-26 01:10:53 -05:00
Syfaro
9cf4f13772
change focus from bot to just bindings, code cleanup
2015-06-25 23:26:24 -05:00