zhuharev
6b5102fab5
fix debug printing
9 years ago
zhuharev
3cfc52c9c2
print full response when debug
9 years ago
Syfaro
846d467e14
Merge pull request #125 from Henner25/fix_message_command_functions
...
Rewrite message command methods to use entities
9 years ago
Henner
b8425b053e
Add missing tests
9 years ago
Henner
c697a95948
Fix failing tests
9 years ago
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.
9 years ago
Syfaro
9dda67c714
Merge pull request #115 from Lord-Protector/master
...
Add PinChatMessage and UnpinChatMessage methods
9 years ago
Lord-Protector
cd9a9741d0
Create own supergroup with test already created bot and give it admin rights
9 years ago
Lord-Protector
3a60d28d73
Tests for PinChatMessage and UnpinChatMessage methods
9 years ago
Lord-Protector
b24a37443a
Add PinChatMessage and UnpinChatMessage methods
9 years ago
Syfaro
13c54dc548
Merge pull request #114 from Kataklysm/master
...
fix InlineKeyboardButton struct
9 years ago
Kataklysm
6d61ed4977
fix InlineKeyboardButton struct
9 years ago
Syfaro
3d983182a3
Merge pull request #111 from xrayid/master
...
Add exportChatInviteLink method
9 years ago
Mikhail Markov
def5c3f6c9
Add exportChatInviteLink method
9 years ago
Syfaro
ebe7b8254e
Merge pull request #105 from MrYadro/chat_member
...
Add new fields for ChatMember
9 years ago
Syfaro
c7a5e02799
Merge pull request #106 from MrYadro/chat_obj
...
New fields for Chat
9 years ago
MrYadro
4e059b5fbf
implement new methods for ChatMember
9 years ago
MrYadro
32f5ed8433
new fields for Chat p2
9 years ago
MrYadro
0c8884bcba
new fields for Chat
9 years ago
MrYadro
b4a811b756
new fields for ChatMember
9 years ago
Syfaro
b57800c534
Merge pull request #102 from mamal72/unban-chat-member-in-channels
...
Implement unban chat member for channels
9 years ago
Mohamad Jahani
12f3478326
feat(bot): implement unban chat member for channels
9 years ago
Syfaro
d23f8e850e
Merge pull request #100 from mamal72/implement-delete-message
...
Implement deleteMessage method
9 years ago
Mohamad Jahani
bdb0f1f4c5
feat(bot): implement deleteMessage method
9 years ago
Syfaro
79b26b07c5
Merge pull request #97 from MrYadro/minor
...
Minor changes from 3.0 API update
9 years ago
MrYadro
bedb16b2e0
minor changes
9 years ago
Syfaro
c341d9cd91
Merge pull request #96 from MrYadro/payments
...
Payments API
9 years ago
MrYadro
41814af2a0
Fixes and comments
9 years ago
MrYadro
42d132b90a
Payments API
9 years ago
Syfaro
5869b2f7f9
Merge pull request #94 from mamal72/add-language-code-to-user
...
Add language code to user struct
9 years ago
mamal
f1ed87c281
feat(types): add language code to user struct
9 years ago
Syfaro
afe64e63be
Merge pull request #93 from Arman92/videonote
...
Added VideoNote support
9 years ago
Arman
ecc60d21b7
Added VideoNote support
9 years ago
Syfaro
baefeb3388
Merge pull request #90 from yanzay/master
...
[Fix #89 ] Add caption to Video params.
9 years ago
Alexey Grachov
e4602014c7
[ Fix #89 ] Add caption to Video params.
9 years ago
Syfaro
9f98d19464
Merge pull request #72 from uamana/FIX_error_handling
...
Fix returning APIResponse from SetWebHook
9 years ago
Syfaro
ff42d6f7d1
Merge pull request #70 from Jeiwan/fix_voiceconfig_caption
...
Fix Caption in VoiceConfig
9 years ago
Syfaro
937de558bd
Merge pull request #80 from polict/master
...
added 'caption' to document parameters
9 years ago
Syfaro
89bbb1edff
Merge pull request #82 from davidmz/patch-1
...
Remove double call of strings.SplitN
9 years ago
Давид Мзареулян
963864785d
Remove double call of strings.SplitN
9 years ago
pol
999653626b
added 'caption' to document parameters
10 years ago
Syfaro
f5c6a478a0
Allow specifying a custom buffer size for the updates channel
10 years ago
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.
10 years ago
Syfaro
3866c68e79
Add check for status code on request, closes #60
10 years ago
Syfaro
3293f3ad84
Change visibility of UpdatesChannel, closes #76
10 years ago
Sergey Juriev
5d28cf05d0
Fix returning APIResponse from SetWebHook
10 years ago
Syfaro
99170e2de4
Merge pull request #71 from Eternity-Yarr/upstream
...
Added max connections configuration option to SetWebHook
10 years ago
Dmitry V
833e457376
Added max connections configuration option to SetWebHook
10 years ago
Ivan Kuznetsov
c0bffcdbba
Fix Caption in VoiceConfig
...
`values()` and `params()` methods of `VoiceConfig` don't process `Caption` field.
10 years ago
Syfaro
80bdd621f7
Return APIResponse even with error in MakeRequest, closes #66 .
10 years ago