§
    Ài  ã            	       óv  — d Z ddlZddlmZmZ ddlmZ ddlmZ ddl	m	Z	 ddl
mZ  e	d	d
e¬¦  «         G d„ d eee¦  «        ¦  «        ¦   «         Z e	dd
e¬¦  «         G d„ de¦  «        ¦   «         Z e	dd
e¬¦  «         G d„ de¦  «        ¦   «         Z e	dd
e¬¦  «         G d„ de¦  «        ¦   «         ZdS )zlinebot.models.sources module.é    N)ÚABCMetaÚabstractproperty)Úwith_metaclassé   )ÚBase)Ú
deprecated)ÚLineBotSdkDeprecatedIn30zŽUse 'from linebot.v3.webhooks import Source' instead. See https://github.com/line/line-bot-sdk-python/blob/master/README.rst for more details.z3.0.0)ÚreasonÚversionÚcategoryc                   ó8   ‡ — e Zd ZdZˆ fd„Zed„ ¦   «         Zˆ xZS )ÚSourcezAbstract Base Class of Source.c                 óV   •—  t          t          | ¦  «        j        di |¤Ž d| _        dS )z1__init__ method.

        :param kwargs:
        N© )Úsuperr   Ú__init__Útype)ÚselfÚkwargsÚ	__class__s     €ú[/home/mmwave/public_html/mmwave/venv/lib/python3.11/site-packages/linebot/models/sources.pyr   zSource.__init__$   s3   ø€ ð
 	%��f�dÑÔÔ$Ð.Ð. vÐ.Ð.Ð.ØˆŒ	ˆ	ˆ	ó    c                 óH   — t          j        dt          d¬¦  «         t          ‚)zäAbstract property of id to send a message.

        If SourceUser, return user_id.
        If SourceGroup, return group_id.
        If SourceRoom, return room_id.

        'sender_id' is deprecated.

        :rtype: str
        ú'sender_id' is deprecated.é   ©Ú
stacklevel)ÚwarningsÚwarnÚDeprecationWarningÚNotImplementedError©r   s    r   Ú	sender_idzSource.sender_id,   s$   € õ 	ŒÐ2Õ4FÐSTÐUÑUÔUÐUÝ!Ð!r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r#   Ú__classcell__©r   s   @r   r   r       sZ   ø€ € € € € à(Ð(ðð ð ð ð ð ð"ð "ñ Ôð"ð "ð "ð "ð "r   r   z’Use 'from linebot.v3.webhooks import UserSource' instead. See https://github.com/line/line-bot-sdk-python/blob/master/README.rst for more details.c                   ó:   ‡ — e Zd ZdZdˆ fd„	Zed„ ¦   «         Zˆ xZS )Ú
SourceUserz—SourceUser.

    https://developers.line.biz/en/reference/messaging-api/#source-user

    JSON object which contains the source user of the event.
    Nc                 ód   •—  t          t          | ¦  «        j        di |¤Ž d| _        || _        dS )zc__init__ method.

        :param str user_id: ID of the source user
        :param kwargs:
        ÚuserNr   )r   r+   r   r   Úuser_id)r   r.   r   r   s      €r   r   zSourceUser.__init__E   s:   ø€ ð 	)��j˜$ÑÔÔ(Ð2Ð2¨6Ð2Ð2Ð2àˆŒ	ØˆŒˆˆr   c                 óH   — t          j        dt          d¬¦  «         | j        S )zjAlias of user_id.

        'sender_id' is deprecated. Use 'user_id' instead.

        :rtype: str
        r   r   r   )r   r   r    r.   r"   s    r   r#   zSourceUser.sender_idP   ó&   € õ 	ŒÐ2Õ4FÐSTÐUÑUÔUÐUØŒ|Ðr   )N©r$   r%   r&   r'   r   Úpropertyr#   r(   r)   s   @r   r+   r+   <   sb   ø€ € € € € ðð ð	ð 	ð 	ð 	ð 	ð 	ð ðð ñ „Xðð ð ð ð r   r+   z“Use 'from linebot.v3.webhooks import GroupSource' instead. See https://github.com/line/line-bot-sdk-python/blob/master/README.rst for more details.c                   ó:   ‡ — e Zd ZdZdˆ fd„	Zed„ ¦   «         Zˆ xZS )ÚSourceGroupzšSourceGroup.

    https://developers.line.biz/en/reference/messaging-api/#source-group

    JSON object which contains the source group of the event.
    Nc                 ór   •—  t          t          | ¦  «        j        di |¤Ž d| _        || _        || _        dS )z—__init__ method.

        :param str group_id: ID of the source group
        :param str user_id: ID of the source user
        :param kwargs:
        ÚgroupNr   )r   r4   r   r   Úgroup_idr.   )r   r7   r.   r   r   s       €r   r   zSourceGroup.__init__e   sA   ø€ ð 	*��k˜4Ñ Ô Ô)Ð3Ð3¨FÐ3Ð3Ð3àˆŒ	Ø ˆŒØˆŒˆˆr   c                 óH   — t          j        dt          d¬¦  «         | j        S )zlAlias of group_id.

        'sender_id' is deprecated. Use 'group_id' instead.

        :rtype: str
        r   r   r   )r   r   r    r7   r"   s    r   r#   zSourceGroup.sender_idr   s&   € õ 	ŒÐ2Õ4FÐSTÐUÑUÔUÐUØŒ}Ðr   ©NNr1   r)   s   @r   r4   r4   \   sb   ø€ € € € € ðð ðð ð ð ð ð ð ðð ñ „Xðð ð ð ð r   r4   z’Use 'from linebot.v3.webhooks import RoomSource' instead. See https://github.com/line/line-bot-sdk-python/blob/master/README.rst for more details.c                   ó:   ‡ — e Zd ZdZdˆ fd„	Zed„ ¦   «         Zˆ xZS )Ú
SourceRoomz—SourceRoom.

    https://developers.line.biz/en/reference/messaging-api/#source-room

    JSON object which contains the source room of the event.
    Nc                 ór   •—  t          t          | ¦  «        j        di |¤Ž d| _        || _        || _        dS )z•__init__ method.

        :param str room_id: ID of the source room
        :param str user_id: ID of the source user
        :param kwargs:
        ÚroomNr   )r   r;   r   r   Úroom_idr.   )r   r>   r.   r   r   s       €r   r   zSourceRoom.__init__‡   sA   ø€ ð 	)��j˜$ÑÔÔ(Ð2Ð2¨6Ð2Ð2Ð2àˆŒ	ØˆŒØˆŒˆˆr   c                 óH   — t          j        dt          d¬¦  «         | j        S )zjAlias of room_id.

        'sender_id' is deprecated. Use 'room_id' instead.

        :rtype: str
        r   r   r   )r   r   r    r>   r"   s    r   r#   zSourceRoom.sender_id”   r0   r   r9   r1   r)   s   @r   r;   r;   ~   sb   ø€ € € € € ðð ðð ð ð ð ð ð ðð ñ „Xðð ð ð ð r   r;   )r'   r   Úabcr   r   Úfuture.utilsr   Úbaser   r   Úlinebot.deprecationsr	   r   r+   r4   r;   r   r   r   ú<module>rD      s'  ðð %Ð $ð €€€Ø )Ð )Ð )Ð )Ð )Ð )Ð )Ð )à 'Ð 'Ð 'Ð 'Ð 'Ð 'à Ð Ð Ð Ð Ð à !Ð !Ð !Ð !Ð !Ð !ðð ð ð ð ð ð
 €ð  dð  nuð  @Xð  Yñ  Yô  Yð"ð "ð "ð "ð "ˆ^ˆ^˜G TÑ*Ô*ñ "ô "ñ Yô  Yð"ð6 €ð  hð  ryð  D\ð  ]ñ  ]ô  ]ðð ð ð ð �ñ ô ñ ]ô  ]ðð> €ð  ið  szð  E]ð  ^ñ  ^ô  ^ðð ð ð ð �&ñ ô ñ ^ô  ^ððB €ð  hð  ryð  D\ð  ]ñ  ]ô  ]ðð ð ð ð �ñ ô ñ ]ô  ]ðð ð r   