
    soj                     R    d dl mZ d dlmZ d dlmZ d dlmZ  G d de          ZdS )    )User)Warlord)TgRest)TgRestObjectTypec                   4     e Zd ZdZdedededef fdZ xZS )TgRestWarlordRevocationzV
    TgRestWarlordRevocation class is used to create a Telegram REST API request.
    bot_idobject_typeuser_id
warlord_idc                     t                                          ||           t          j        |          | _        t          j        |          | _        dS )zl
        Constructor

        :param user_id: The user id
        :param warlord_id: The warlord id
        N)super__init__r   	get_by_iduserr   warlord)selfr	   r
   r   r   	__class__s        0/app/src/model/tgrest/TgRestWarlordRevocation.pyr   z TgRestWarlordRevocation.__init__   sF     	---.11	 ' 1* = =    )	__name__
__module____qualname____doc__strr   intr   __classcell__)r   s   @r   r   r      se         >s >1A >C >]` > > > > > > > > > >r   r   N)	src.model.Userr   src.model.Warlordr   src.model.tgrest.TgRestr   !src.model.tgrest.TgRestObjectTyper   r    r   r   <module>r#      s          % % % % % % * * * * * * > > > > > >> > > > >f > > > > >r   