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
coder2020official
475394d241
Added message_thread_id & is_topic_message
2022-11-05 23:23:00 +04:00
coder2020official
76f06cacfe
Fix typo
2022-11-05 23:15:10 +04:00
coder2020official
77738b2537
Added is_forum
2022-11-05 23:14:37 +04:00
_run
01be1fb583
Fixes #1650
2022-08-16 21:39:20 +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
c5a69944be
Documentation improvements and file name fix
2022-08-12 14:33:24 +05:00
_run
65b353ffae
Added InputFile
2022-08-01 12:40:43 +05:00
_run
51b2ec701d
Removed unecessary methods from documentation(to_json, de_json, to_dict)
2022-07-26 16:27:15 +05:00
_run
3d7f334d79
Updated all docstrings for types(visual)
2022-07-26 16:16:35 +05:00
_run
b0e06253ff
Completed docstrings for all files except types.py
2022-07-24 23:14:09 +05:00
Badiboy
78251cdf43
ChatMember type checking reordered
2022-07-04 22:41:01 +03:00
Badiboy
81cbddb8cd
Added source data (json_string) to CallbackQuery
2022-07-04 22:36:42 +03:00
Badiboy
f3b1f97362
ChatMember is now typed
...
https://core.telegram.org/bots/api#chatmember
2022-07-03 23:33:55 +03:00
coder2020official
d7f34ae370
Fix the typo
2022-06-21 15:27:45 +05:00
coder2020official
f52124827f
Added all new changes for types (is_premium, added_to_attachment_menu, and etc)
2022-06-21 15:21:35 +05:00
Badiboy
91b665ea94
Poll type parameter parse fix
...
Plus some typo
2022-05-15 00:59:35 +03:00
Badiboy
7e68721475
class File parse fix
2022-05-08 23:34:56 +03:00
Badiboy
e1dc6d7beb
Mistake in ChatAdministratorRights
2022-04-24 23:41:08 +03:00