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
Behrang Noruzi Niya
04f51c3251
Add response parameters to error messages
2018-03-04 14:40:17 +03:30
Oleksandr Savchuk
6e69f99d11
add setChatTitle and setChatDescription methods
2018-03-03 20:20:03 +02:00
Syfaro
5435d1d8ea
Merge pull request #145 from robx/master
...
make ChatID int64 for SetGameScoreConfig
2018-01-12 14:35:45 -06:00
Robert Vollmert
9e8d16e1a8
make ChatID int64 for SetGameScoreConfig
...
It's int64 everywhere else.
2018-01-12 12:13:21 +01:00
Syfaro
af15ab1ca7
Merge pull request #144 from robx/master
...
reply_markup is optional for InlineQueryResultGame
2018-01-11 15:55:17 -06:00
Robert Vollmert
f8145e3a68
reply_markup is optional for InlineQueryResultGame
2018-01-11 22:41:45 +01:00
Syfaro
6f2d022476
Merge pull request #142 from williamchange/master
...
minor typo in helpers.go
2018-01-08 21:57:55 -06:00
Lim Ming Wei
3b0c031730
minor typo in helpers.go
2018-01-09 11:51:17 +08:00
scnace
9b7184fa79
check telegram webhook tls handshake
2018-01-08 02:10:50 +08:00
Syfaro
9653a4aad4
Handle some ignored errors.
2017-12-29 21:55:58 -06:00
Syfaro
c268ddc5b9
Fix comments that were copied.
2017-12-29 17:06:33 -06:00
Syfaro
bb07769ea9
Bot API 3.5.
2017-12-29 13:22:53 -06:00
Syfaro
e840fa3b0f
Finish Bot API 3.4.
2017-12-29 13:06:58 -06:00
Syfaro
72f87b43e3
Fix backwards compatibility for Live Location.
2017-12-29 13:00:02 -06:00
Syfaro
4ec899a62e
Merge remote-tracking branch 'pr0head/master' into develop
2017-12-29 12:56:31 -06:00
Syfaro
0a654beca4
Move debug output into a single location.
2017-12-29 01:38:45 -06:00
Syfaro
8b7b15afc2
Update README.md.
2017-12-29 01:26:54 -06:00
Syfaro
ef374648bf
Bot API 3.3.
2017-12-29 01:17:15 -06:00
Syfaro
ac87082c55
Remove remaining methods that returned an APIResponse.
2017-12-29 01:08:01 -06:00
Syfaro
95a923dc4c
Update tests.
2017-12-29 00:50:45 -06:00
Syfaro
271adc4d97
Bot API 3.2, introduce Request to replace APIResponse methods.
2017-12-29 00:44:47 -06:00
Syfaro
e97c2417c9
Resolve some linter issues.
2017-12-28 23:17:32 -06:00
zhuharev
2022d04b94
fix tests, linter errors and fmt
2017-11-09 21:51:50 +03:00
zhuharev
87b8e431a9
Merge branch 'abdulgalimov-bugfix'
2017-11-09 21:45:36 +03:00
Zaur Abdulgalimov
5dbfec17f3
test User:IsBot
2017-11-09 19:46:11 +03:00
Zaur Abdulgalimov
bd1aa7e6ef
User:IsBot & RestrictChatMember:UntilDate
2017-11-09 18:41:22 +03:00
zhuharev
e6191af679
add doc message
2017-11-07 05:17:06 +03:00
zhuharev
6b5102fab5
fix debug printing
2017-10-31 02:34:34 +03:00
zhuharev
3cfc52c9c2
print full response when debug
2017-10-30 00:03:48 +03:00
pr0head
dffc002f9e
Fix struct for InlineQueryResultLocation
2017-10-17 19:00:20 +03:00
pr0head
5cbecde819
Added `editMessageLiveLocation` and `stopMessageLiveLocation` methods
2017-10-14 01:05:24 +03:00
pr0head
7031d820be
Added `live_period` for Location (tests)
2017-10-13 22:53:47 +03:00
pr0head
65947daaab
Added `live_period` for Location
2017-10-13 17:00:04 +03:00
Syfaro
846d467e14
Merge pull request #125 from Henner25/fix_message_command_functions
...
Rewrite message command methods to use entities
2017-10-07 12:26:42 -05:00
Henner
b8425b053e
Add missing tests
2017-10-07 18:06:20 +02:00
Henner
c697a95948
Fix failing tests
2017-10-07 18:04:27 +02:00
Henner
5f5f94047c
Rewrite message command methods to use entities
...
Since the Telegram-API considers "/foo-bar" to be a command entity
"/foo", we had choose a behaviour for the
CommandArguments() method.
The specification (https://core.telegram.org/bots#commands ) mandates a
space after the command name, so we decided to skip the first character
following the command entity.
However, Telegram clients render "/foo-bar" as if "/foo" was the command
and "-bar" additional text, so this alternative should be remembered.
2017-10-07 17:15:51 +02:00