Syfaro
b60db1d2e1
Revert "Remove a broken check for GetUpdatesChan."
...
This was not properly tested and results in the bot looping.
This reverts commit 5f38203a15
.
7 years ago
Syfaro
5f38203a15
Remove a broken check for GetUpdatesChan.
7 years ago
Yan Mihailov
a1b3e41878
added custom logger and SetLogger func
7 years ago
Kirill Zhuharev
0e0af0c480
fix #159
7 years ago
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.
7 years ago
Oleksandr Savchuk
a36af7a672
add deleteChatPhoto method
7 years ago
Oleksandr Savchuk
57be988011
add setChatPhoto method
7 years ago
Behrang Noruzi Niya
04f51c3251
Add response parameters to error messages
7 years ago
Oleksandr Savchuk
6e69f99d11
add setChatTitle and setChatDescription methods
7 years ago
zhuharev
2022d04b94
fix tests, linter errors and fmt
8 years ago
Zaur Abdulgalimov
bd1aa7e6ef
User:IsBot & RestrictChatMember:UntilDate
8 years ago
zhuharev
e6191af679
add doc message
8 years ago
zhuharev
6b5102fab5
fix debug printing
8 years ago
zhuharev
3cfc52c9c2
print full response when debug
8 years ago
Lord-Protector
b24a37443a
Add PinChatMessage and UnpinChatMessage methods
8 years ago
Mikhail Markov
def5c3f6c9
Add exportChatInviteLink method
8 years ago
MrYadro
4e059b5fbf
implement new methods for ChatMember
8 years ago
Mohamad Jahani
12f3478326
feat(bot): implement unban chat member for channels
8 years ago
Mohamad Jahani
bdb0f1f4c5
feat(bot): implement deleteMessage method
8 years ago
MrYadro
41814af2a0
Fixes and comments
8 years ago
MrYadro
42d132b90a
Payments API
8 years ago
Syfaro
f5c6a478a0
Allow specifying a custom buffer size for the updates channel
9 years ago
Syfaro
3866c68e79
Add check for status code on request, closes #60
9 years ago
Syfaro
3293f3ad84
Change visibility of UpdatesChannel, closes #76
9 years ago
Sergey Juriev
5d28cf05d0
Fix returning APIResponse from SetWebHook
9 years ago
Dmitry V
833e457376
Added max connections configuration option to SetWebHook
9 years ago
Syfaro
80bdd621f7
Return APIResponse even with error in MakeRequest, closes #66 .
9 years ago
lupoDharkael
c034de512a
Added Clear() to examples and code simplification
9 years ago
lupoDharkael
66446d51ff
Added updatesChannel type with Clear() method
9 years ago
Syfaro
0a57807db7
Additional changes for Telegram API updates.
9 years ago
Syfaro
f3a33ae6f1
Add support for games, among other updates.
9 years ago
Syfaro
4f996f7f27
Add NewInlineQueryResultPhotoWithThumb for #54 .
9 years ago
Syfaro
1daed40422
Allow negative Offset values for GetUpdates, closes #51 .
9 years ago
Syfaro
217764ba45
Add new chat methods for Bot API 2.1.
9 years ago
Syfaro
db12d94016
Add kick and unban methods, update some inline query result responses.
9 years ago
Syfaro
18510df3c9
Add some of the new methods and types.
9 years ago
Syfaro
67ab387694
Fix broken inline queries.
9 years ago
Syfaro
80e30d7c19
Stop returning useless http.Handler from ListenForWebhook.
9 years ago
Syfaro
08d7c01637
Rename all errors to be prefixed with Err.
9 years ago
Syfaro
6c84cd1fbb
Replace bad file type error with constant
9 years ago
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.
10 years ago
Syfaro
1ae7803be0
Add untested support for Inline Queries.
10 years ago
Gleb Sinyavsky
f8cc0d2aaa
Bot::QuickSend removed
10 years ago
Gleb Sinyavsky
1a3e995b37
QuickSend method added to bot
10 years ago
Gleb Sinyavsky
4037dbed02
Lint issues fixed
10 years ago
Gleb Sinyavsky
d638757359
go fmt
10 years ago
Gleb Sinyavsky
5859ba3970
Small updates. Readme updated
10 years ago
Gleb Sinyavsky
2a5cf8652d
Updates channel removed from BotAPI
10 years ago
Gleb Sinyavsky
af029c366c
Bot IsMessageToMe method
10 years ago
Gleb Sinyavsky
399d665b0a
Typo fix
10 years ago