Ë
    …jÐj8  ã                   ó.   — d dl mZ g d¢Z G d„ de«      Zy)é    )ÚDataMapping)Úalt_textÚduration_msÚheightÚ	media_keyÚnon_public_metricsÚorganic_metricsÚpreview_image_urlÚpromoted_metricsÚpublic_metricsÚtypeÚurlÚvariantsÚwidthc                   ó,   — e Zd ZdZdZd„ Zd„ Zd„ Zd„ Zy)ÚMediaay	  Media refers to any image, GIF, or video attached to a Tweet. The media
    object is not a primary object on any endpoint, but can be found and
    expanded in the Tweet object. 

    The object is available for expansion with
    ``?expansions=attachments.media_keys`` to get the condensed object with
    only default fields. Use the expansion with the field parameter:
    ``media.fields`` when requesting additional fields to complete the object..

    .. versionadded:: 4.0

    .. versionchanged:: 4.5
        Added ``url`` field

    .. versionchanged:: 4.12
        Added ``variants`` field

    Attributes
    ----------
    data : dict
        The JSON data representing the media.
    media_key : str
        Unique identifier of the expanded media content.
    type : str
        Type of content (animated_gif, photo, video).
    url : str | None
        A direct URL to the media file on Twitter.
    duration_ms : int | None
        Available when type is video. Duration in milliseconds of the video.
    height : int | None
        Height of this content in pixels.
    non_public_metrics : dict | None
        Non-public engagement metrics for the media content at the time of the
        request. 

        Requires user context authentication.
    organic_metrics: dict | None
        Engagement metrics for the media content, tracked in an organic
        context, at the time of the request. 

        Requires user context authentication.
    preview_image_url : str | None
        URL to the static placeholder preview of this content.
    promoted_metrics : dict | None
        Engagement metrics for the media content, tracked in a promoted
        context, at the time of the request. 

        Requires user context authentication.
    public_metrics : dict | None
        Public engagement metrics for the media content at the time of the
        request.
    width : int | None
        Width of this content in pixels.
    alt_text : str | None
        A description of an image to enable and support accessibility. Can be
        up to 1000 characters long. Alt text can only be added to images at the
        moment.
    variants: list[dict] | None
        Each media object may have multiple display or playback variants,
        with different resolutions or formats

    References
    ----------
    https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/media
    )Údatar   r   r   r   r   r   r	   r
   r   r   r   r   r   c                 ó  — || _         |d   | _        |d   | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        |j                  d	«      | _
        |j                  d
«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        y )Nr   r   r   r   r   r   r	   r
   r   r   r   r   r   )r   r   r   Úgetr   r   r   r   r	   r
   r   r   r   r   r   )Úselfr   s     ú†/var/labsstorage/home/Thilakkumar/htdocs/soical-media-automation/automation_platform/venv/lib/python3.12/site-packages/tweepy/media.pyÚ__init__zMedia.__init__d   sÚ   € ØˆŒ	Ø˜kÑ*ˆŒØ˜‘LˆŒ	à—8‘8˜E“?ˆŒØŸ8™8 MÓ2ˆÔØ—h‘h˜xÓ(ˆŒØ"&§(¡(Ð+?Ó"@ˆÔØ#Ÿx™xÐ(9Ó:ˆÔØ!%§¡Ð*=Ó!>ˆÔØ $§¡Ð);Ó <ˆÔØ"Ÿh™hÐ'7Ó8ˆÔØ—X‘X˜gÓ&ˆŒ
ØŸ™ Ó,ˆŒØŸ™ Ó,ˆ�ó    c                 ól   — t        || j                  «      r| j                  |j                  k(  S t        S ©N)Ú
isinstanceÚ	__class__r   ÚNotImplemented)r   Úothers     r   Ú__eq__zMedia.__eq__u   s)   € Ü�e˜TŸ^™^Ô,Ø—>‘> U§_¡_Ñ4Ð4äÐr   c                 ó,   — t        | j                  «      S r   )Úhashr   ©r   s    r   Ú__hash__zMedia.__hash__{   s   € Ü�D—N‘NÓ#Ð#r   c                 ó<   — d| j                   › d| j                  › d�S )Nz<Media media_key=z type=ú>)r   r   r#   s    r   Ú__repr__zMedia.__repr__~   s    € Ø" 4§>¡>Ð"2°&¸¿¹¸À1ÐEÐEr   N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   r    r$   r'   © r   r   r   r      s%   „ ñ@ðD€Iò-ò"ò$óFr   r   N)Útweepy.mixinsr   ÚMEDIA_FIELDSr   r-   r   r   ú<module>r0      s!   ðõ
 &ò€ô"eFˆKõ eFr   