@@ -5148,8 +5148,7 @@ async def send_media_group(
51485148 business_connection_id : Optional [str ]= None ,
51495149 message_effect_id : Optional [str ]= None ,
51505150 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 ]:
51535152 """
51545153 Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files
51555154 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 @@ async def send_media_group(
51975196 required if the message is sent to a direct messages chat
51985197 :type direct_messages_topic_id: :obj:`int`
51995198
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-
52055199 :return: On success, an array of Messages that were sent is returned.
52065200 :rtype: List[types.Message]
52075201 """
@@ -5236,8 +5230,7 @@ async def send_media_group(
52365230
52375231 result = await asyncio_helper .send_media_group (
52385232 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 )
52415234 return [types .Message .de_json (msg ) for msg in result ]
52425235
52435236 async def send_location (
0 commit comments