
    i
                     <    S SK Jr  S SKrS SKJrJr   " S S5      rg)    )OptionalN)rawtypesc                   X    \ rS rSr    SSSS\S\S\\   S\\   S	\\   S
S4S jjrSr	g)CreateSupergroup   Nselfzpyrogram.Clienttitledescriptionis_forummessage_auto_delete_time
for_importreturnz
types.Chatc                    #    U R                  [        R                  R                  R	                  UUSUUUS95      I Sh  vN n[
        R                  R                  XR                  S   5      $  N07f)a  Create a new supergroup.

.. note::

    If you want to create a new basic group, use :meth:`~pyrogram.Client.create_group` instead.

.. include:: /_includes/usable-by/users.rst

Parameters:
    title (``str``):
        The supergroup title.

    description (``str``, *optional*):
        The supergroup description.

    is_forum (``bool``, *optional*):
        Pass True to create a forum supergroup chat.

    message_auto_delete_time (``int``, *optional*):
        Message auto-delete time value, in seconds, must be from 0 up to 365 * 86400 and be divisible by 86400.
        If None, then messages aren't deleted automatically.

    for_import (``bool``, *optional*):
        Pass True to create a supergroup for importing messages.

Returns:
    :obj:`~pyrogram.types.Chat`: On success, a chat object is returned.

Example:
    .. code-block:: python

        await app.create_supergroup("Supergroup Title", "Supergroup Description")
T)r
   about	megagroupr   forum
ttl_periodNr   )	invoker   	functionschannelsCreateChannelr   Chat_parse_chatchats)r	   r
   r   r   r   r   rs          U/app/mltbenv/lib/python3.13/site-packages/pyrogram/methods/chats/create_supergroup.pycreate_supergroup"CreateSupergroup.create_supergroup   sn     R ++MM""00!%3 1 	
 	
 zz%%dGGAJ77	
s   ?A4A21A4 ) NNN)
__name__
__module____qualname____firstlineno__strr   boolintr   __static_attributes__r        r   r   r      sh     #'26%)484848 48 4.	48
 #+3-48 TN48 
48 48r*   r   )typingr   pyrogramr   r   r   r    r*   r   <module>r-      s   &   58 58r*   