Commit Graph

56 Commits (ac87082c555ae9cd9cc2b0b07cf904744cf5841d)

Author SHA1 Message Date
Syfaro ac87082c55 Remove remaining methods that returned an APIResponse. 2017-12-29 01:08:01 -06:00
Syfaro 271adc4d97 Bot API 3.2, introduce Request to replace APIResponse methods. 2017-12-29 00:44:47 -06:00
Lord-Protector b24a37443a Add PinChatMessage and UnpinChatMessage methods 2017-08-05 12:29:06 +03:00
MrYadro 4e059b5fbf
implement new methods for ChatMember 2017-07-01 11:34:09 +07:00
Mohamad Jahani 12f3478326 feat(bot): implement unban chat member for channels 2017-06-18 21:34:17 +04:30
Mohamad Jahani bdb0f1f4c5 feat(bot): implement deleteMessage method 2017-06-08 14:02:05 +04:30
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
Arman ecc60d21b7 Added VideoNote support 2017-05-22 02:34:12 +04:30
Alexey Grachov e4602014c7 [Fix #89] Add caption to Video params. 2017-05-14 12:11:44 +03:00
Syfaro ff42d6f7d1 Merge pull request #70 from Jeiwan/fix_voiceconfig_caption
Fix Caption in VoiceConfig
2017-04-19 15:38:50 -05:00
pol 999653626b added 'caption' to document parameters 2017-02-11 15:13:49 +01:00
Syfaro f5c6a478a0 Allow specifying a custom buffer size for the updates channel 2017-01-27 11:40:09 -06:00
Dmitry V 833e457376 Added max connections configuration option to SetWebHook 2017-01-17 17:18:26 +03:00
Ivan Kuznetsov c0bffcdbba Fix Caption in VoiceConfig
`values()` and `params()` methods of `VoiceConfig` don't process `Caption` field.
2017-01-15 14:00:37 +07:00
MyeongJun 40f1937150 change return new data to return exist v data 2016-12-01 13:17:28 +09:00
LeeMyeongJun 9d6e221a00 add error try catch in all method that use BaseChat.values 2016-11-30 22:07:37 +09:00
LeeMyeongJun cbf597eaf6 add error try catch in the configs MessageConfig values method 2016-11-30 21:41:10 +09:00
Syfaro 0a57807db7 Additional changes for Telegram API updates. 2016-11-24 23:50:35 -06:00
Syfaro f3a33ae6f1 Add support for games, among other updates. 2016-10-03 10:47:19 -05:00
tucher a1204e7ea1 Fixed BaseEdit.values
chat_id and message_id should be sent only if there is no
inline_message_id (and vice versa), according to documentation.
2016-08-01 20:30:30 +03:00
Syfaro 217764ba45 Add new chat methods for Bot API 2.1. 2016-05-22 10:16:28 -05:00
Syfaro bf6e165e92 Fix more ReplyMarkup items in edits, finishes #43, closes #47. 2016-04-27 08:00:19 -05:00
boston 890c908551 fix EditMessageReplyMarkupConfig 2016-04-19 12:19:36 +05:00
Syfaro c0eb5db6c3 Add more tests. 2016-04-13 17:06:18 -05:00
Syfaro ee1d537565 Add more helpers, update README for v4 release. 2016-04-13 09:01:46 -05:00
Syfaro 595aba3dea Add sendContact method. 2016-04-12 13:02:08 -05:00
Syfaro b6130533a3 Add methods for editing messages. 2016-04-12 12:53:19 -05:00
Syfaro a92f88ce2c Add some missing comments. 2016-04-12 08:59:47 -05:00
Syfaro db12d94016 Add kick and unban methods, update some inline query result responses. 2016-04-12 08:56:05 -05:00
Syfaro 18510df3c9 Add some of the new methods and types. 2016-04-12 08:28:46 -05:00
Syfaro b971c58157 Update for larger Chat IDs. 2016-03-30 09:04:15 -05:00
Syfaro f33a4eede1 Add support for messages with disabled notifications. 2016-03-30 09:04:15 -05:00
Syfaro 36588c50f4 Add ModeHTML for HTML message formatting. 2016-03-30 09:04:15 -05:00
Syfaro 67ab387694 Fix broken inline queries. 2016-03-30 09:04:15 -05:00
Syfaro 08d7c01637 Rename all errors to be prefixed with Err. 2016-03-30 09:04:15 -05:00
Syfaro 6c84cd1fbb Replace bad file type error with constant 2016-03-30 09:04:15 -05:00
Syfaro 99262cf76c Remove deprecated methods. 2016-03-30 09:04:15 -05:00
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.
2016-01-03 16:54:24 -06:00
Syfaro 1ae7803be0 Add untested support for Inline Queries. 2016-01-01 00:10:28 -06:00
Gleb Sinyavsky 1cede9cf45 Some helper methods added to Message. Some tests added. Small fixes 2015-12-13 20:31:59 +03:00
Gleb Sinyavsky eb6b784a5a mime_type and file_size added for file messages 2015-12-13 20:00:20 +03:00
Syfaro 6960b6fd79 Remove ReplyMarkup interface from MessageConfig, fixes #30 2015-11-25 09:08:03 -06:00
Gleb Sinyavsky 4037dbed02 Lint issues fixed 2015-11-21 19:43:24 +03:00
Gleb Sinyavsky c4515aa388 Small fixes 2015-11-21 14:44:26 +03:00
Gleb Sinyavsky 9644984dae removeWebhook method added. 2015-11-21 14:26:39 +03:00
Gleb Sinyavsky 53dd9f6367 Fixes, tests improved 2015-11-21 14:22:08 +03:00
Gleb Sinyavsky a192540b8c Many tests added. Small fixes 2015-11-20 20:26:12 +03:00
Gleb Sinyavsky d0711736ec Test added, small improvements 2015-11-20 18:30:50 +03:00
Gleb Sinyavsky da026b435e Totally new, universal API 2015-11-20 17:55:32 +03:00