U
    dd!                     @   s<   d Z ddlmZ ddlmZ ddlmZ G dd deZdS )zQThis module contains objects related to the write access allowed service message.    )Optional)TelegramObject)JSONDictc                       s4   e Zd ZdZdZdddeed fddZ  ZS )	WriteAccessAlloweda  
    This object represents a service message about a user allowing a bot to write messages after
    adding the bot to the attachment menu or launching a Web App from a link.

    .. versionadded:: 20.0

    Args:
        web_app_name (:obj:`str`, optional): Name of the Web App which was launched from a link.

            .. versionadded:: 20.3

    Attributes:
        web_app_name (:obj:`str`): Optional. Name of the Web App which was launched from a link.

            .. versionadded:: 20.3

    )web_app_nameN
api_kwargs)r   r   c                   s    t  j|d || _|   d S )Nr   )super__init__r   Z_freeze)selfr   r   	__class__ @/tmp/pip-unpacked-wheel-e3anp165/telegram/_writeaccessallowed.pyr
   /   s    zWriteAccessAllowed.__init__)N)	__name__
__module____qualname____doc__	__slots__strr   r
   __classcell__r   r   r   r   r      s   r   N)r   typingr   Ztelegram._telegramobjectr   Ztelegram._utils.typesr   r   r   r   r   r   <module>   s   