1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
Commit Graph

75 Commits

Author SHA1 Message Date
coder2020official
715aabaf49 Added the method setStickerMaskPosition for changing the mask position of a mask sticker. 2023-03-11 23:06:57 +04:00
coder2020official
9fa5b91e58 Added the method setStickerKeywords for changing the search keywords assigned to a sticker. 2023-03-11 22:58:41 +04:00
coder2020official
de5a32e45c Fixed custom_emoji_ids and added set_sticker_emoji_list, and and fixed some typehints 2023-03-11 22:53:33 +04:00
coder2020official
db087427fc Added the method deleteStickerSet for complete deletion of a given sticker set that was created by the bot. 2023-03-11 22:27:37 +04:00
coder2020official
385fc6a6da Added the method setStickerSetTitle for editing the title of sticker sets created by the bot. 2023-03-11 22:24:34 +04:00
coder2020official
ac0b386625 Added the method setCustomEmojiStickerSetThumbnail for editing the thumbnail of custom emoji sticker sets created by the bot. 2023-03-11 22:19:49 +04:00
coder2020official
ae44b0022d Added support for .WEBP, .TGS, and .WEBM files in uploadStickerFile by replacing the parameter png_sticker in the method uploadStickerFile with the parameters sticker and sticker_format. 2023-03-11 22:15:31 +04:00
coder2020official
19dcce0d5b Added support for the creation of sticker sets with multiple initial stickers in createNewStickerSet by replacing the parameters png_sticker, tgs_sticker, webm_sticker, emojis and mask_position with the parameters stickers and sticker_format. 2023-03-11 21:59:22 +04:00
coder2020official
f527fc91f6 Replaced the parameters png_sticker, tgs_sticker, webm_sticker, emojis and mask_position in the method addStickerToSet with the parameter sticker of the type InputSticker. 2023-03-11 18:18:07 +04:00
coder2020official
8a858cac4e Added the parameter needs_repainting to the method createNewStickerSet to automatically change the color of emoji based on context (e.g., use text color in messages, accent color in statuses, etc.). 2023-03-11 16:39:04 +04:00
coder2020official
54caf30f69 Added the parameter emoji to the method sendSticker to specify an emoji for just uploaded stickers. 2023-03-11 15:50:09 +04:00
coder2020official
09e4a2a437 Added the ability to get the current bot short description in the given language as the class BotShortDescription using the method getMyShortDescription. 2023-03-11 15:46:35 +04:00
coder2020official
9b81a29a6a Added the ability to set different bot short descriptions for different user languages using the method setMyShortDescription. 2023-03-11 15:40:54 +04:00
coder2020official
65dcd67140 Added the ability to get the current bot description in the given language as the class BotDescription using the method getMyDescription. 2023-03-11 15:35:00 +04:00
coder2020official
c84b771e5a Added the ability to set different bot descriptions for different user languages using the method setMyDescription. 2023-03-10 21:36:44 +04:00
Badiboy
c9b6d3f868 New content types added + typo fix 2023-02-22 09:49:29 +03:00
Dmitry
7a67d5f9f9
Fix .webm async upload 2023-02-18 22:36:29 +02:00
_run
fb7d60f09d
Merge pull request #1913 from coder2020official/botapi6.5
Fix #1912
2023-02-09 19:49:17 +04:00
coder2020official
8dc4e77287 Update asyncio_helper.py 2023-02-09 19:27:05 +04:00
Badiboy
b4196f5891 restrict_chat_member fix 2023-02-09 17:56:10 +03:00
coder2020official
a9b878107c Fix can_send_media_messages param, added warnings 2023-02-04 22:24:26 +04:00
coder2020official
d1348606e3 Added use_independent_chat_permissions to setchatpermissions 2023-02-04 20:04:07 +04:00
coder2020official
d0d03d0c09 Added use_independent_chat_permissions for restrictchatmember 2023-02-04 19:59:49 +04:00
Badiboy
f5eac56afa Async allowed_updates fix 2023-01-31 11:19:11 +03:00
coder2020official
9f8256607a Added the parameter message_thread_id to the method sendChatAction for sending chat actions to a specific message thread or a forum topic.
Added the parameter message_thread_id to the method sendChatAction for sending chat actions to a specific message thread or a forum topic.
2022-12-30 20:23:53 +04:00
coder2020official
f297ad23c7 Added methods for topic management
Added the methods editGeneralForumTopic, closeGeneralForumTopic, reopenGeneralForumTopic, hideGeneralForumTopic, unhideGeneralForumTopic for managing the General topic in forums.
2022-12-30 20:19:50 +04:00
coder2020official
107f92314b icon_custom_emoji_id and name parameters made optional for edit_forum_topic
The parameters name and icon_custom_emoji_id of the method editForumTopic are now optional. If they are omitted, the existing values are kept.
2022-12-30 19:50:14 +04:00
coder2020official
4d11e97c25 has_spoiler parameter
Added the parameter has_spoiler to the methods sendPhoto, sendVideo, and sendAnimation.
2022-12-30 19:20:23 +04:00
_run
add240adfd
Update asyncio_helper.py 2022-12-14 12:41:30 +04:00
coder2020official
0846852ea1 Added all necessary parameters
Added the parameter message_thread_id to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, forwardMessage to support sending of messages to a forum topic.
2022-11-06 17:31:49 +04:00
coder2020official
4825624d48 Added docs to types, added new methods
Added the methods createForumTopic, editForumTopic, closeForumTopic, reopenForumTopic, deleteForumTopic, unpinAllForumTopicMessages, and getForumTopicIconStickers for forum topic management.
2022-11-06 15:43:16 +04:00
coder2020official
7958d0dca7 Added can_manage_topics for promotechatmember
Added the parameter can_manage_topics to the method promoteChatMember.
2022-11-06 15:04:41 +04:00
coder2020official
eb576d83fb Fixed a bug, made improvements in reload system
Didn't test that much, there is still some stuff to do
2022-09-30 23:22:21 +04:00
_run
d3080b6d4e
Merge branch 'master' into conflicts 2022-09-30 22:53:19 +04:00
coder2020official
4f97b26e81 Update asyncio_helper.py 2022-09-10 20:37:13 +04:00
coder2020official
0028feb4c5 Update asyncio_helper.py 2022-09-10 20:14:48 +04:00
coder2020official
da5084f53c Update asyncio_helper.py 2022-09-10 14:36:56 +04:00
coder2020official
2f8d878f06 Fixed difference between request_timeout and timeout.
getUpdates parameter may contain 2 parameters: request_timeout & timeout. other methods may contain timeout parameter that should be applied to ClientTimeout.
2022-09-10 14:34:56 +04:00
_run
b4c28de104
Update asyncio_helper.py 2022-09-07 20:44:39 +04:00
coder2020official
1b1d6c8239 Improved asyncio helper's logger 2022-08-30 21:26:56 +04:00
_run
d3cab9cdba Update asyncio_helper.py 2022-08-13 14:59:57 +05:00
_run
dd4073fd74 Fixes regarding contains_masks 2022-08-13 13:22:25 +05:00
_run
40698408c9 Bot API 6.2 2022-08-12 22:10:08 +05:00
_run
26db76f207 Fix backward comptability 2022-08-12 15:25:51 +05:00
_run
d03f3b2c52 Updated asyncio_helper to support InputFile and fixed unecessary methods 2022-08-01 14:09:44 +05:00
_run
49d3b463ed Fixes #1636 2022-07-18 14:01:14 +05:00
_run
147278733b Fix #1637 2022-07-18 13:47:14 +05:00
_run
ea1efad1ea Update asyncio_helper.py 2022-07-15 22:28:43 +05:00
_run
c920809fa9
Update asyncio_helper.py 2022-07-01 15:39:42 +05:00
_run
5939e754bb
Update asyncio_helper.py 2022-07-01 15:29:34 +05:00