from ...tl.tlobject import TLObject


class DocumentAttributeAnimated(TLObject):
    """Class generated by TLObjects' generator. All changes will be ERASED. TL definition below.
    documentAttributeAnimated#11b58939 = DocumentAttribute"""

    # Telegram's constructor (U)ID for this class
    constructor_id = 0x11b58939
    # Also the ID of its resulting type for fast checks
    subclass_of_id = 0xf729eb9b

    def __init__(self):
        super().__init__()

    @staticmethod
    def to_dict():
        return {}

    def on_send(self, writer):
        writer.write_int(DocumentAttributeAnimated.constructor_id, signed=False)

    @staticmethod
    def empty():
        """Returns an "empty" instance (attributes=None)"""
        return DocumentAttributeAnimated()

    def on_response(self, reader):
        pass

    def __repr__(self):
        return 'documentAttributeAnimated#11b58939 = DocumentAttribute'

    def __str__(self):
        return TLObject.pretty_format(self)

    def stringify(self):
        return TLObject.pretty_format(self, indent=0)
