code: def onPollCreated(
          self,
          mid=None,
          poll=None,
          author_id=None,
          thread_id=None,
          thread_type=None,
          ts=None,
          metadata=None,
          msg=None,
      ):
          
          log.info(
              "{} created poll {} in {} ({})".format(
                  author_id, poll, thread_id, thread_type.name
              )
          )
docs: Called when the client is listening, and somebody creates a group poll
  
          :param mid: The action ID
          :param poll: Created poll
          :param author_id: The ID of the person who created the poll
          :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 metadata: Extra metadata about the action
          :param msg: A full set of the data recieved
          :type poll: models.Poll
          :type thread_type: models.ThreadType