Syfaro
75e27e1380
Updates for Bot API 4.7.
2020-03-30 15:35:53 -05:00
TJ Horner
ddf0d3631b
Use Params#AddBool for is_closed
2020-01-24 22:44:44 -05:00
TJ Horner
5aaa0b2d03
Bot API 4.6: Polls 2.0, misc. changes
2020-01-24 22:42:19 -05:00
Syfaro
5ce2767dad
Updates for Bot API 4.4 and 4.5.
2020-01-06 01:44:13 -06:00
Syfaro
db88019230
Add support for Polls and other API 4.2 updates.
2019-04-14 14:46:45 -05:00
Denis Orlikhin
5d997a78c8
fix uploads by URL and fileId for UploadStickerConfig too, should be the same as in createNewStickerSet
2018-12-06 14:32:25 +03:00
Denis Orlikhin
a0a678302e
fix uploads by URL and fileId, should be the same as in createNewStickerSet
2018-11-28 19:06:56 +03:00
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
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
Gleb Sinyavsky
d3f7ac7197
Refactorings
2015-11-20 17:31:01 +03:00
Gleb Sinyavsky
9361631c6d
Refactoring
2015-11-20 17:08:53 +03:00
Gleb Sinyavsky
54b9c7e14b
Refactoring
2015-11-20 15:15:34 +03:00
Gleb Sinyavsky
4610c561c6
Drying
2015-11-20 14:19:37 +03:00
Gleb Sinyavsky
57a07c0c22
Refactoring and DRYing
2015-11-20 14:06:51 +03:00
Gleb Sinyavsky
13a8bd025c
Refactorings
2015-11-20 13:42:26 +03:00