o
    @jJ                     @  sT   d dl mZ d dlmZmZmZmZ ddlmZ ddl	m
Z
 G dd de
e Zd	S )
    )annotations)TYPE_CHECKINGAnyOptionalUnion   )ChatInviteLink   )TelegramMethodc                      s`   e Zd ZU dZeZdZded< 	 ded< 	 dZded	< 	 e	r,dd
d fddZ
  ZS   ZS )EditChatSubscriptionInviteLinkaA  
    Use this method to edit a subscription invite link created by the bot. The bot must have the *can_invite_users* administrator rights. Returns the edited invite link as a :class:`aiogram.types.chat_invite_link.ChatInviteLink` object.

    Source: https://core.telegram.org/bots/api#editchatsubscriptioninvitelink
    editChatSubscriptionInviteLinkUnion[int, str]chat_idstrinvite_linkNOptional[str]name)r   0_EditChatSubscriptionInviteLink__pydantic_kwargsr   returnNonec                  s   t  jd|||d| d S )N)r   r   r    )super__init__)__pydantic__self__r   r   r   r   	__class__r   /var/www/www-root/data/www/ai-bot.pdev.uz/venv/lib/python3.10/site-packages/aiogram/methods/edit_chat_subscription_invite_link.pyr      s
   
z'EditChatSubscriptionInviteLink.__init__)
r   r   r   r   r   r   r   r   r   r   )__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   __classcell__r   r   r   r   r   	   s   
 	r   N)
__future__r   typingr   r   r   r   typesr   baser
   r   r   r   r   r   <module>   s
    