Commit Graph

63 Commits (9105c34c59802cba482ee90cae261218971f634c)

Author SHA1 Message Date
Syfaro 898e79fe47 Add initial support for sendMediaGroup. 2018-09-21 20:20:28 -05:00
Denis Orlikhin 0343f9ec27 Animation type support added 2018-09-06 15:46:02 +03:00
Oleksandr Savchuk af72b0a3db add support of parse_mode in EditMessageCaptionConfig 2018-07-30 20:00:09 +03:00
Oleksandr Savchuk 0b68c9b790 add full support of parse mode in captions
- parse_mode of caption support in AudioConfig
 - parse_mode of caption support in DocumentConfig
 - parse_mode of caption support in VideoConfig
 - parse_mode of caption support in VoiceConfig
 - in PhotoConfig add parse_mode only if caption is not empty
2018-07-30 19:53:11 +03:00
CssHammer 60668682f7 Add ParseMode to PhotoConfig 2018-05-23 22:12:20 +03: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
Oleksandr Savchuk 6e69f99d11 add setChatTitle and setChatDescription methods 2018-03-03 20:20:03 +02:00
Robert Vollmert 9e8d16e1a8 make ChatID int64 for SetGameScoreConfig
It's int64 everywhere else.
2018-01-12 12:13:21 +01: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