
    dhB                    T    d dl mZ d dlmZmZ ddlmZ ddlmZ  G d dee	         Z
y	)
    )annotations)TYPE_CHECKINGAny   )InputSticker   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 ded<   	 ded<   	 ded	<   	 er	 	 	 	 	 	 	 	 	 	 	 	 d fd
Z	 xZ
S  xZ
S )ReplaceStickerInSeta  
    Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling :class:`aiogram.methods.delete_sticker_from_set.DeleteStickerFromSet`, then :class:`aiogram.methods.add_sticker_to_set.AddStickerToSet`, then :class:`aiogram.methods.set_sticker_position_in_set.SetStickerPositionInSet`. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#replacestickerinset
    replaceStickerInSetintuser_idstrnameold_stickerr   stickerc               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   %_ReplaceStickerInSet__pydantic_kwargs	__class__s         `/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/replace_sticker_in_set.pyr   zReplaceStickerInSet.__init__    s-     G '	
 $    )r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   s     M*NL2
I1 l	 	 		
 	 "	 "%	 	 		 r   r   N)
__future__r   typingr   r   typesr   baser	   r"   r   r   r   r   <module>r+      s"    " %    *.. *r   