
    ,h	                    `    d dl mZ d dlmZ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Optional   )ChatIdUnionChatInviteLinkDateTimeUnion   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 ded<   	 ded<   	 d	Zd
ed<   	 e	rd	d	 	 	 	 	 	 	 	 	 	 	 d fdZ
 xZS  xZS ) CreateChatSubscriptionInviteLinka  
    Use this method to create a `subscription invite link <https://telegram.org/blog/superchannels-star-reactions-subscriptions#star-subscriptions>`_ for a channel chat. The bot must have the *can_invite_users* administrator rights. The link can be edited using the method :class:`aiogram.methods.edit_chat_subscription_invite_link.EditChatSubscriptionInviteLink` or revoked using the method :class:`aiogram.methods.revoke_chat_invite_link.RevokeChatInviteLink`. Returns the new invite link as a :class:`aiogram.types.chat_invite_link.ChatInviteLink` object.

    Source: https://core.telegram.org/bots/api#createchatsubscriptioninvitelink
     createChatSubscriptionInviteLinkr   chat_idr
   subscription_periodintsubscription_priceNOptional[str]name)r   c               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   2_CreateChatSubscriptionInviteLink__pydantic_kwargs	__class__s         g/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/create_chat_subscription_invite_link.pyr   z)CreateChatSubscriptionInviteLink.__init__    s-     G $7#5	
 $    )r   r   r   r
   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__r	   __returning____api_method____annotations__r   r   r   __classcell__)r   s   @r   r   r   	   s     #M7N C&& M SD-+ #'	 !	 "/		
 !$	  	 "%	 	 		 r   r   N)
__future__r   typingr   r   r   typesr   r	   r
   baser   r   r   r   r   <module>r-      s(    " / / > >  *~n'E *r   