
    F˝i	                    \    d dl mZ d dlmZmZ ddlmZmZmZ ddl	m
Z
  G d de
e         Zy	)
    )annotations)TYPE_CHECKINGAny   )ChatIdUnionChatInviteLinkDateTimeUnion   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 dZded<   	 dZ	ded	<   	 dZ
d
ed<   	 dZded<   	 erddddd	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )CreateChatInviteLinka  
    Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method :class:`aiogram.methods.revoke_chat_invite_link.RevokeChatInviteLink`. Returns the new invite link as :class:`aiogram.types.chat_invite_link.ChatInviteLink` object.

    Source: https://core.telegram.org/bots/api#createchatinvitelink
    createChatInviteLinkr   chat_idN
str | NonenameDateTimeUnion | Noneexpire_date
int | Nonemember_limitbool | Nonecreates_join_request)r   r   r   r   c          	     0    t        |   d|||||d| y )N)r   r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   r   &_CreateChatInviteLink__pydantic_kwargs	__class__s          `/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/create_chat_invite_link.pyr   zCreateChatInviteLink.__init__"   s0     G ')%9 $    )r   r   r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r   r   r   __classcell__)r   s   @r   r   r   	   s     #M+NzD*+(,K%,B#L*# J(,+, ^  $04'+04	 !	 		
 .	 %	 #.	 "%	 	 		 r    r   N)
__future__r   typingr   r   typesr   r   r	   baser   r   r   r    r   <module>r/      s%    " % > >  .>.9 .r    