pyTelegramBotAPI 4.29.0__py3-none-any.whl → 4.29.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyTelegramBotAPI
3
- Version: 4.29.0
3
+ Version: 4.29.1
4
4
  Summary: Python Telegram bot API.
5
5
  Project-URL: Homepage, https://github.com/eternnoir/pyTelegramBotAPI
6
6
  Project-URL: Documentation, https://pytba.readthedocs.org
@@ -1,6 +1,6 @@
1
- telebot/__init__.py,sha256=Q4jA-Buw_0DkEMu9V-ha9HVhnVra_irVdErSnv70MGM,483835
1
+ telebot/__init__.py,sha256=tCkVliKReGsKIzLfPY5hlGYu6ihmiBL-vHXuv51_40s,483836
2
2
  telebot/apihelper.py,sha256=fjGopdfBoE7wr9VRAUlI70BTpNYlYg7kkfXKdx6nAEE,118503
3
- telebot/async_telebot.py,sha256=yFqWTBwfGSkTWm7-m3n2CMlMN4_hvNDPWCoZ07lOLDY,457844
3
+ telebot/async_telebot.py,sha256=TpL99_iNaUgVmvIGcKVZMG2qOxTic00PsYXEYQD6gow,457312
4
4
  telebot/asyncio_filters.py,sha256=UM5AznjF5Ffym20_linOvqn5mHy5KfXy9MdKjFbKtcQ,12857
5
5
  telebot/asyncio_handler_backends.py,sha256=BWS7zr93FJNZJmPHBoXo4i_PIHGlmrEoWy1miXax9aI,2785
6
6
  telebot/asyncio_helper.py,sha256=Qi4lpf7JVDUt3DHacjnQ65BcH4tZJh0NJGE9rs245yY,119661
@@ -12,7 +12,7 @@ telebot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  telebot/service_utils.py,sha256=xLmlZLTVs34UOdQtMvwduor8hnLxQCx8iJ92wDGl2Mw,2053
13
13
  telebot/types.py,sha256=WguzhUlQDK0vieQrw9FgaN5K2n95yuNF5FCEq_juykI,562173
14
14
  telebot/util.py,sha256=Z0v26B43g_ah7Qe_M_cLA4Cvf6ICZ7t9cF1yQuSoo1s,21738
15
- telebot/version.py,sha256=wX6hnES-RfyAqwGrC8TsY0slkG_1rxOVUVXfyQl4Zpo,99
15
+ telebot/version.py,sha256=y7f9dQ-f07vyh8pq2CkFVZ8oqd13qitQOJFztbKozR8,99
16
16
  telebot/asyncio_storage/__init__.py,sha256=fraOWJby1ddJmPAXf1oXWmZJXRodSpING17MF875NPI,433
17
17
  telebot/asyncio_storage/base_storage.py,sha256=JVoT2Xk3EfyWFauE6ToeHP2E3kwt81KRkACay6wQynE,3819
18
18
  telebot/asyncio_storage/memory_storage.py,sha256=h8yc2xpfLmbcBjPmKkqNhZtUtpNQ7EuKIfMGue61e7w,5849
@@ -36,7 +36,7 @@ telebot/storage/base_storage.py,sha256=AJ7X3ZTMzVeQsgfQV8bRHxvRj7QUvOcTrGI1fWiuM
36
36
  telebot/storage/memory_storage.py,sha256=-r1vuIt1YHq9btkr6E7BCu4Do-wUDlNcttG22SSgEYo,5799
37
37
  telebot/storage/pickle_storage.py,sha256=wjFuRxSBeCMB3h-fUqLgqe2XcZoc6-ixkN5qsm3th9I,7136
38
38
  telebot/storage/redis_storage.py,sha256=DReU2lc8cI0f3XMIT1N9-suGZ6jE8H9I_mapK3A-lyE,9450
39
- pytelegrambotapi-4.29.0.dist-info/METADATA,sha256=EvxfOkQ1DtydEtop1wP6KxCifdR44Ld-RkRZIf0AX9E,48279
40
- pytelegrambotapi-4.29.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
- pytelegrambotapi-4.29.0.dist-info/licenses/LICENSE,sha256=qz_jTTxi4zSAFaTdASiwml2iAk0UZ6R4MRADNzwYo_A,18387
42
- pytelegrambotapi-4.29.0.dist-info/RECORD,,
39
+ pytelegrambotapi-4.29.1.dist-info/METADATA,sha256=P53py-g91-6MTdlst7I7qWdHHYkXsv7q50vVXp8Y4NQ,48279
40
+ pytelegrambotapi-4.29.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
+ pytelegrambotapi-4.29.1.dist-info/licenses/LICENSE,sha256=qz_jTTxi4zSAFaTdASiwml2iAk0UZ6R4MRADNzwYo_A,18387
42
+ pytelegrambotapi-4.29.1.dist-info/RECORD,,
telebot/__init__.py CHANGED
@@ -7408,7 +7408,7 @@ class TeleBot:
7408
7408
  if contains_masks is not None:
7409
7409
  logger.warning('The parameter "contains_masks" is deprecated, use "sticker_type" instead')
7410
7410
  if sticker_type is None:
7411
- sticker_type = 'mask' if contains_masks else 'regular'
7411
+ sticker_type = 'mask' if contains_masks else 'regular'
7412
7412
 
7413
7413
  if stickers is None:
7414
7414
  stickers = png_sticker or tgs_sticker or webm_sticker
telebot/async_telebot.py CHANGED
@@ -5148,8 +5148,7 @@ class AsyncTeleBot:
5148
5148
  business_connection_id: Optional[str]=None,
5149
5149
  message_effect_id: Optional[str]=None,
5150
5150
  allow_paid_broadcast: Optional[bool]=None,
5151
- direct_messages_topic_id: Optional[int]=None,
5152
- suggested_post_parameters: Optional[types.SuggestedPostParameters]=None) -> List[types.Message]:
5151
+ direct_messages_topic_id: Optional[int]=None) -> List[types.Message]:
5153
5152
  """
5154
5153
  Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files
5155
5154
  can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.
@@ -5197,11 +5196,6 @@ class AsyncTeleBot:
5197
5196
  required if the message is sent to a direct messages chat
5198
5197
  :type direct_messages_topic_id: :obj:`int`
5199
5198
 
5200
- :param suggested_post_parameters: A JSON-serialized object containing the parameters of the suggested post to send;
5201
- for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post
5202
- is automatically declined.
5203
- :type suggested_post_parameters: :class:`telebot.types.SuggestedPostParameters`
5204
-
5205
5199
  :return: On success, an array of Messages that were sent is returned.
5206
5200
  :rtype: List[types.Message]
5207
5201
  """
@@ -5236,8 +5230,7 @@ class AsyncTeleBot:
5236
5230
 
5237
5231
  result = await asyncio_helper.send_media_group(
5238
5232
  self.token, chat_id, media, disable_notification, timeout, protect_content, message_thread_id, reply_parameters, business_connection_id, message_effect_id=message_effect_id,
5239
- allow_paid_broadcast=allow_paid_broadcast, direct_messages_topic_id=direct_messages_topic_id,
5240
- suggested_post_parameters=suggested_post_parameters)
5233
+ allow_paid_broadcast=allow_paid_broadcast, direct_messages_topic_id=direct_messages_topic_id)
5241
5234
  return [types.Message.de_json(msg) for msg in result]
5242
5235
 
5243
5236
  async def send_location(
telebot/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  # Versions should comply with PEP440.
2
2
  # This line is parsed in setup.py:
3
- __version__ = '4.29.0'
3
+ __version__ = '4.29.1'