def __init__(self, device_id=Id.REQUEST, payload=None):
        """
        Initialize object

        :param device_id: Device id of sender (Id) (default: Id.REQUEST)
        :type device_id: int
        :param payload: Payload of message (default: None)
        :type payload: None | dict
        :rtype: None
        :raises ValueError: Message type not settable
        """
        super(APPDataMessage, self).__init__(
            device_id=device_id,
            payload=""
        )
        self.payload = payload
def __init__ ( self , device_id = Id . REQUEST , payload = None ) : super ( APPDataMessage , self ) . __init__ ( device_id = device_id , payload = "" ) self . payload = payload
Initialize object

        :param device_id: Device id of sender (Id) (default: Id.REQUEST)
        :type device_id: int
        :param payload: Payload of message (default: None)
        :type payload: None | dict
        :rtype: None
        :raises ValueError: Message type not settable