from ....tl.mtproto_request import MTProtoRequest


class NoAppUpdate(MTProtoRequest):
    """Class generated by TLObjects' generator. All changes will be ERASED. TL definition below.
    help.noAppUpdate#c45a6536  = help.AppUpdate"""

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

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

    @staticmethod
    def to_dict():
        return {}

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

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

    def on_response(self, reader):
        pass

    def __repr__(self):
        return 'help.noAppUpdate#c45a6536  = help.AppUpdate'

    def __str__(self):
        return '(help.noAppUpdate (ID: 0xc45a6536) = ())'.format()
