Commit Graph

80 Commits (290b9363d44f83c188b2d15e00c509ffdfdada82)

Author SHA1 Message Date
Syfaro cdcb93df5f No reason to use pointers to arrays. 2018-10-08 23:32:34 -05:00
Syfaro 4d758f17d4 Add some missing fields, generalize configs, remove unneeded methods. 2018-10-08 23:05:24 -05:00
Syfaro 1f859674f7 Consistency of variable names. 2018-10-08 18:37:18 -05:00
Syfaro 655c3a4137 Remove outdated and old comments. 2018-10-08 18:26:50 -05:00
Syfaro 03815bf5bd Unify params and values, introduce helpers to deal with fields. 2018-10-08 18:21:29 -05:00
Syfaro 23ed97b145 Merge master into develop. 2018-10-08 03:13:50 -05:00
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
Syfaro b728fa78fc More various small code quality improvements. 2018-03-26 12:39:07 -05:00
Syfaro 6a6de7e674 Merge master into develop. 2018-03-26 12:22:16 -05: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
Syfaro c268ddc5b9 Fix comments that were copied. 2017-12-29 17:06:33 -06:00
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 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
pr0head 5cbecde819 Added `editMessageLiveLocation` and `stopMessageLiveLocation` methods 2017-10-14 01:05:24 +03:00
pr0head 65947daaab Added `live_period` for Location 2017-10-13 17:00:04 +03: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