def send_single_ans(self, ID, name: str):
    '\n        Send a single message to specific id with a specific name.\n\n        :params ID: User quiz id.\n        :type ID: int\n        :params name: Name you want on the message.\n        :type name: str\n        '
    self.data = {'userFullName': name, 'userQuizId': 1}
    self.data.update(userQuizId=ID)
    self.payloadf.update(userQuizId=ID)
    try:
        req = requests.request('GET', self.url, params=self.payloadf)
        questions = json.loads(req.text).get('data').get('questions')
        for (j, q) in enumerate(questions):
            qval = q.get('choosenOption')
            self.data.update({(('questions[' + str(j)) + '][choosenOption]'): qval})
        reqi = requests.post(self.url, params=self.payload, data=self.data)
        print(('sending post to userQuizId: ' + str(ID)))
    except:
        print('User not found')
Send a single message to specific id with a specific name.

:params ID: User quiz id.
:type ID: int
:params name: Name you want on the message.
:type name: str
def send_single_ans(self, ID, name: str):
    '\n        Send a single message to specific id with a specific name.\n\n        :params ID: User quiz id.\n        :type ID: int\n        :params name: Name you want on the message.\n        :type name: str\n        '
    self.data = {'userFullName': name, 'userQuizId': 1}
    self.data.update(userQuizId=ID)
    self.payloadf.update(userQuizId=ID)
    try:
        req = requests.request('GET', self.url, params=self.payloadf)
        questions = json.loads(req.text).get('data').get('questions')
        for (j, q) in enumerate(questions):
            qval = q.get('choosenOption')
            self.data.update({(('questions[' + str(j)) + '][choosenOption]'): qval})
        reqi = requests.post(self.url, params=self.payload, data=self.data)
        print(('sending post to userQuizId: ' + str(ID)))
    except:
        print('User not found')