coder2020official
ecb5d9b4f6
Added tests for __html_text, fixed the bug, added custom_emoji for entities
2023-04-22 22:53:57 +04:00
coder2020official
26575dc5e7
Added support for launching Web Apps from inline query results by replacing the parameters switch_pm_text and switch_pm_parameter of the method answerInlineQuery with the parameter button of type InlineQueryResultsButton.
2023-04-22 20:51:08 +04:00
coder2020official
1d62adc262
Added the ability to get the current bot name in the given language as the class BotName using the method getMyName.
2023-04-22 18:30:46 +04:00
coder2020official
d6f4987197
Added the field via_chat_folder_invite_link to the class ChatMemberUpdated.
2023-04-21 22:30:32 +04:00
coder2020official
966b451869
Added the field switch_inline_query_chosen_chat of the type SwitchInlineQueryChosenChat to the class InlineKeyboardButton, which allows bots to switch to inline mode in a chosen chat of the given type.
2023-04-21 22:28:20 +04:00
coder2020official
d1417e5616
Added the field web_app_name to the class WriteAccessAllowed.
2023-04-21 22:14:16 +04:00
Badiboy
e64c06b7bc
Merge pull request #1951 from mikelei8291/doc-fix
...
Fix documentation for `InlineKeyboardMarkup` and `quick_markup`
2023-04-03 19:10:10 +03:00
Badiboy
fe2e9a7a30
thumb_url etc. converted to properties
2023-03-25 15:22:30 +03:00
Badiboy
c9ef0d71f0
Deprecation warnings equalisation
2023-03-25 15:17:29 +03:00
Badiboy
b0740a920a
Set "thumb" as property in types
2023-03-25 15:08:40 +03:00
Mike Lei
bd69492ed4
Fix documentation for InlineKeyboardMarkup
and quick_markup
2023-03-23 18:52:40 +00:00
coder2020official
1e450ebd15
Bot API 6.6 review changes
2023-03-19 17:31:53 +04:00
coder2020official
991679bedc
Renamed all necessary thumbs to thumbnails in types.py
2023-03-11 23:53:16 +04:00
coder2020official
5c6b867582
Renamed the field thumb in the classes Animation, Audio, Document, Sticker, Video, VideoNote, InputMediaAnimation, InputMediaAudio, InputMediaDocument, InputMediaVideo, StickerSet to thumbnail. Renamed the parameter thumb in the methods sendAnimation, sendAudio, sendDocument, sendVideo, sendVideoNote to thumbnail.
2023-03-11 23:34:17 +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
c0185dad44
Added the field needs_repainting to the class Sticker.
2023-03-11 16:41:19 +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
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
4179e502c3
Fix description
2023-02-05 11:13:31 +04:00
coder2020official
a9b878107c
Fix can_send_media_messages param, added warnings
2023-02-04 22:24:26 +04:00
coder2020official
2094120ec7
Added user_chat_id to ChatJoinRequest; And, i corrected typehints
2023-02-04 20:07:01 +04:00
coder2020official
9e68f76f5d
Replaced the fields can_send_media_messages in the classes ChatMemberRestricted and ChatPermissions with separate fields can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes for different media types.
2023-02-04 18:57:06 +04:00
coder2020official
4000c9fb48
Added chat_shared and chatshared
2023-02-04 16:58:48 +04:00
coder2020official
ae42d0b1fe
Added usershared and user_shared
2023-02-04 16:54:43 +04:00
coder2020official
a3891ff363
Pep 0563 proposed change
...
https://peps.python.org/pep-0563/
2023-02-04 16:29:48 +04:00
coder2020official
4d7f5310fb
Added the class KeyboardButtonRequestChat and the field request_chat to the class KeyboardButton.
2023-02-04 16:24:05 +04:00
_run
3e0d69f7f4
fixed checks x1
2023-02-04 16:16:34 +04:00
coder2020official
2e5fb10430
Added the class KeyboardButtonRequestUser and the field request_user to the class KeyboardButton.
2023-02-04 16:02:18 +04:00
Cub11k
1eda7cafd4
Fix type of attribute id of InlineQuery from int to str
2023-01-15 15:04:07 +02:00
Cub11k
e6f8acadf4
rename _util.py to service_utils.py
2023-01-06 21:41:30 +02:00
Cub11k
c298d95d0f
Move functions, required in types.py to _util.py
...
Add __all__ to util.py for sphinx to generate docs properly
2023-01-06 19:27:25 +02:00
_run
3be5015f9e
Update telebot/types.py
2023-01-02 17:55:30 +04:00
_run
267a33c329
Update telebot/types.py
2023-01-02 17:55:14 +04:00
_run
667e82d073
Update telebot/types.py
2023-01-02 17:54:35 +04:00
coder2020official
eed56be596
Added fields has_hidden_members and has_aggressive_anti_spam_enabled to class Chat
2022-12-30 20:38:26 +04:00
coder2020official
a20a3ae321
topic events and write_access_allowed
...
Added the classes ForumTopicEdited, GeneralForumTopicHidden, GeneralForumTopicUnhidden, and WriteAccessAllowed and the fields forum_topic_edited, general_forum_topic_hidden, general_forum_topic_unhidden, and write_access_allowed to the class Message.
2022-12-30 20:07:38 +04:00
coder2020official
9f5d9861a4
Added the field has_media_spoiler to the class Message.
...
Added the field has_media_spoiler to the class Message.
2022-12-30 19:41:46 +04:00
coder2020official
4537b237c8
has_spoiler for types.py
...
Added the field has_spoiler to the classes InputMediaPhoto, InputMediaVideo, and InputMediaAnimation.
2022-12-30 19:27:38 +04:00
coder2020official
f0a1cefdda
Added the field is_persistent to the class ReplyKeyboardMarkup
...
Added the field is_persistent to the class ReplyKeyboardMarkup, allowing to control when the keyboard is shown.
2022-12-30 19:08:37 +04:00
Badiboy
cd4dc899a1
Fix caption_entities miss in InputMediaXXX
2022-12-02 23:46:26 +03:00
_run
deb2099396
Update types.py
2022-11-22 18:36:15 +04:00
_run
15bd5f991a
Update types.py
2022-11-18 23:21:06 +04:00
_run
25571b581c
Update types.py
2022-11-18 23:12:03 +04:00
coder2020official
ae1845f285
Added active_usernames and emoji_status_custom_emoji_id
2022-11-06 17:38:01 +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
876d679765
Added ForumTopic class and fixed previous classes by fixing de_json method.
2022-11-06 15:14:19 +04:00
coder2020official
4e2ea90db3
Added field can_manage_topics
...
Added the field can_manage_topics to the classes ChatAdministratorRights, ChatPermissions, ChatMemberAdministrator, and ChatMemberRestricted.
2022-11-06 15:00:20 +04:00
coder2020official
566aef1679
Fix wrong typehint for previous commit
2022-11-06 14:49:13 +04:00
coder2020official
f288470b43
Added the classes ForumTopicCreated, ForumTopicClosed, and ForumTopicReopened and the fields forum_topic_created, forum_topic_closed, and forum_topic_reopened to the class Message. Note that service messages about forum topic creation can't be deleted with the deleteMessage method.
...
Added the classes ForumTopicCreated, ForumTopicClosed, and ForumTopicReopened and the fields forum_topic_created, forum_topic_closed, and forum_topic_reopened to the class Message. Note that service messages about forum topic creation can't be deleted with the deleteMessage method.
2022-11-06 01:04:33 +04:00