Syfaro
a746f39d22
Move tests into tgbotapi package.
2018-10-08 23:34:34 -05:00
Syfaro
cdcb93df5f
No reason to use pointers to arrays.
2018-10-08 23:32:34 -05:00
Syfaro
4d758f17d4
Add some missing fields, generalize configs, remove unneeded methods.
2018-10-08 23:05:24 -05:00
Syfaro
1f859674f7
Consistency of variable names.
2018-10-08 18:37:18 -05:00
Syfaro
655c3a4137
Remove outdated and old comments.
2018-10-08 18:26:50 -05:00
Syfaro
03815bf5bd
Unify params and values, introduce helpers to deal with fields.
2018-10-08 18:21:29 -05:00
Syfaro
9860bdfd3a
Fix capitalization in doc.
2018-10-08 14:45:45 -05:00
Syfaro
9d2d117c0e
Merge branch 'master' into develop
2018-10-08 14:00:38 -05:00
Syfaro
b60db1d2e1
Revert "Remove a broken check for GetUpdatesChan."
...
This was not properly tested and results in the bot looping.
This reverts commit 5f38203a15
.
2018-10-08 13:58:50 -05:00
Syfaro
23ed97b145
Merge master into develop.
2018-10-08 03:13:50 -05:00
Syfaro
e2f846d83a
Stop using gopkg in README among other minor improvements.
2018-10-08 02:34:41 -05:00
Syfaro
025b92519c
Merge branch 'master' of github.com:go-telegram-bot-api/telegram-bot-api
2018-10-08 02:25:15 -05:00
Syfaro
b6441c36ee
A number of small improvements.
2018-10-08 02:25:09 -05:00
Syfaro
444e8e261f
Merge pull request #154 from Arman92/patch-1
...
added StopReceivingUpdates to stop updates routine
2018-10-08 02:08:42 -05:00
Syfaro
5f38203a15
Remove a broken check for GetUpdatesChan.
2018-10-08 01:58:33 -05:00
Syfaro
9105c34c59
Merge pull request #199 from treeder/master
...
Adds Passport update types
2018-10-08 01:20:17 -05:00
Syfaro
898e79fe47
Add initial support for sendMediaGroup.
2018-09-21 20:20:28 -05:00
Travis Reeder
3fbd77ce76
Adds paspport update type
2018-09-21 13:26:47 -04:00
Syfaro
7ff5871e28
Merge pull request #195 from overplumbum/master
...
Animation type support added
2018-09-06 11:11:42 -05:00
Denis Orlikhin
0343f9ec27
Animation type support added
2018-09-06 15:46:02 +03:00
Travis Reeder
2326345451
Passport Updates ( #1 )
2018-09-04 10:52:52 -07:00
Amir Khazaie
d066ae74e6
merge main repo changes
2018-09-01 10:49:31 +04:30
Syfaro
75244dc4f7
Merge pull request #194 from m90/travis-versions
...
Test in up-to-date Go versions
2018-08-27 15:51:15 -05:00
Frederik Ring
483f21c48b
Remove go1.4 from travis configuration
2018-08-27 22:44:02 +02:00
Syfaro
b0bdb27e05
Merge pull request #189 from mr-linch/full-parse-mode-support
...
Parse mode in captions
2018-08-27 15:39:08 -05:00
Syfaro
e21c866847
Merge pull request #191 from yanmhlv/master
...
added custom logger and SetLogger function
2018-08-27 15:38:41 -05:00
Frederik Ring
ca185227e5
Test in up-to-date Go versions
2018-08-26 18:52:52 +02:00
Yan Mihailov
a1b3e41878
added custom logger and SetLogger func
2018-08-07 00:15:37 +03:00
Oleksandr Savchuk
af72b0a3db
add support of parse_mode in EditMessageCaptionConfig
2018-07-30 20:00:09 +03:00
Oleksandr Savchuk
0b68c9b790
add full support of parse mode in captions
...
- parse_mode of caption support in AudioConfig
- parse_mode of caption support in DocumentConfig
- parse_mode of caption support in VideoConfig
- parse_mode of caption support in VoiceConfig
- in PhotoConfig add parse_mode only if caption is not empty
2018-07-30 19:53:11 +03:00
Amir Khazaie
4edcb0fa1a
Correct formatting of code with `go fmt`
2018-07-04 15:19:37 +04:30
Amir Khazaie
31f4975464
Add cached types for inline query answer
2018-07-04 15:18:19 +04:30
Amir Khazaie
f90493fac6
Add ParseMode to EditMessageCaption
2018-06-30 11:01:59 +04:30
Syfaro
4c16a90966
Merge pull request #179 from CssHammer/master
...
Add ParseMode to PhotoConfig
2018-06-02 03:01:29 -05:00
CssHammer
60668682f7
Add ParseMode to PhotoConfig
2018-05-23 22:12:20 +03:00
Syfaro
212b154115
Merge pull request #169 from empetrone/add-sticker-pack-name
...
Parse sticker pack name
2018-04-28 13:50:02 -05:00
Syfaro
eafee51d2a
Merge pull request #166 from VOID001/del-patch
...
Add helper function NewDeleteMessage
2018-04-28 13:49:37 -05:00
Emanuele Rocco Petrone
25ef323a6b
Parse sticker pack name
2018-04-28 00:31:17 +02:00
Jianqiu Zhang
32775370ac
Add NewDeleteMessage
...
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
2018-04-22 18:40:58 +08:00
Kirill Zhuharev
0e0af0c480
fix #159
2018-03-28 16:10:29 +03:00
Syfaro
b728fa78fc
More various small code quality improvements.
2018-03-26 12:39:07 -05:00
Syfaro
1aef8c8c45
Remove new methods that returned APIResponse.
2018-03-26 12:30:16 -05:00
Syfaro
6a6de7e674
Merge master into develop.
2018-03-26 12:22:16 -05:00
Syfaro
309f2dd87f
Minor code quality improvements.
2018-03-26 11:54:02 -05:00
Syfaro
102c3104f4
Merge pull request #141 from scbizu/master
...
[proposal]check telegram webhook tls handshake
2018-03-26 11:24:12 -05:00
Syfaro
38681a48d1
Merge pull request #153 from behrang/master
...
Add response parameters to error messages
2018-03-26 11:19:46 -05:00
Arman
6205cea402
added StopReceivingUpdates to stop updates routine
...
There was no way to stop the bot from fetching updates, Added StopReceivingUpdates() so we can stop updates when we are done with bot.
2018-03-10 01:52:21 +03:30
Syfaro
690363a5f8
Merge pull request #152 from mr-linch/master
...
Add setChatTitle and setChatDescription methods
2018-03-05 17:23:36 -06:00
Oleksandr Savchuk
a36af7a672
add deleteChatPhoto method
2018-03-05 17:12:56 +02:00
Oleksandr Savchuk
57be988011
add setChatPhoto method
2018-03-05 17:05:32 +02:00