Commit Graph

626 Commits (2d0a34c34b2947e8f12372d6e1c56fd5bed01673)

Author SHA1 Message Date
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
Syfaro 9dda67c714 Merge pull request #115 from Lord-Protector/master
Add PinChatMessage and UnpinChatMessage methods
2017-08-05 22:56:32 -05:00
Lord-Protector cd9a9741d0 Create own supergroup with test already created bot and give it admin rights 2017-08-05 13:50:44 +03:00
Lord-Protector 3a60d28d73 Tests for PinChatMessage and UnpinChatMessage methods 2017-08-05 12:37:43 +03:00
Lord-Protector b24a37443a Add PinChatMessage and UnpinChatMessage methods 2017-08-05 12:29:06 +03:00
Syfaro 13c54dc548 Merge pull request #114 from Kataklysm/master
fix InlineKeyboardButton struct
2017-07-25 15:12:33 -05:00
Kataklysm 6d61ed4977 fix InlineKeyboardButton struct 2017-07-25 21:01:48 +03:00
Syfaro 3d983182a3 Merge pull request #111 from xrayid/master
Add exportChatInviteLink method
2017-07-17 13:35:43 -05:00
Mikhail Markov def5c3f6c9 Add exportChatInviteLink method 2017-07-17 20:48:51 +03:00
Syfaro ebe7b8254e Merge pull request #105 from MrYadro/chat_member
Add new fields for ChatMember
2017-07-02 15:43:42 -05:00
Syfaro c7a5e02799 Merge pull request #106 from MrYadro/chat_obj
New fields for Chat
2017-07-02 15:42:14 -05:00
MrYadro 4e059b5fbf
implement new methods for ChatMember 2017-07-01 11:34:09 +07:00
MrYadro 32f5ed8433
new fields for Chat p2 2017-06-30 20:31:54 +07:00
MrYadro 0c8884bcba
new fields for Chat 2017-06-30 20:29:59 +07:00
MrYadro b4a811b756
new fields for ChatMember 2017-06-30 20:22:57 +07:00
Syfaro b57800c534 Merge pull request #102 from mamal72/unban-chat-member-in-channels
Implement unban chat member for channels
2017-06-19 00:03:20 -05:00
Mohamad Jahani 12f3478326 feat(bot): implement unban chat member for channels 2017-06-18 21:34:17 +04:30
Syfaro d23f8e850e Merge pull request #100 from mamal72/implement-delete-message
Implement deleteMessage method
2017-06-08 14:07:35 -05:00
Mohamad Jahani bdb0f1f4c5 feat(bot): implement deleteMessage method 2017-06-08 14:02:05 +04:30
Syfaro 79b26b07c5 Merge pull request #97 from MrYadro/minor
Minor changes from 3.0 API update
2017-06-03 18:02:18 -05:00
MrYadro bedb16b2e0
minor changes 2017-06-03 21:19:09 +07:00
Syfaro c341d9cd91 Merge pull request #96 from MrYadro/payments
Payments API
2017-06-03 02:08:51 -05: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
Syfaro 5869b2f7f9 Merge pull request #94 from mamal72/add-language-code-to-user
Add language code to user struct
2017-05-23 02:53:20 -05:00