code: def onReactionAdded(
          self,
          mid=None,
          reaction=None,
          author_id=None,
          thread_id=None,
          thread_type=None,
          ts=None,
          msg=None,
      ):
          
          log.info(
              "{} reacted to message {} with {} in {} ({})".format(
                  author_id, mid, reaction.name, thread_id, thread_type.name
              )
          )
docs: Called when the client is listening, and somebody reacts to a message
  
          :param mid: Message ID, that user reacted to
          :param reaction: Reaction
          :param add_reaction: Whether user added or removed reaction
          :param author_id: The ID of the person who reacted to the message
          :param thread_id: Thread ID that the action was sent to. See :ref:`intro_threads`
          :param thread_type: Type of thread that the action was sent to. See :ref:`intro_threads`
          :param ts: A timestamp of the action
          :param msg: A full set of the data recieved
          :type reaction: models.MessageReaction
          :type thread_type: models.ThreadType