from ...tl.mtproto_request import MTProtoRequest


class TopPeerCategoryBotsPM(MTProtoRequest):
    """Class generated by TLObjects' generator. All changes will be ERASED. TL definition below.
    topPeerCategoryBotsPM#ab661b5b = TopPeerCategory"""

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

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

    @staticmethod
    def to_dict():
        return {}

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

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

    def on_response(self, reader):
        pass

    def __repr__(self):
        return 'topPeerCategoryBotsPM#ab661b5b = TopPeerCategory'

    def __str__(self):
        return '(topPeerCategoryBotsPM (ID: 0xab661b5b) = ())'.format()
