class_docstr: MesageSender is a wrapper around the facebook messenger requests that simplifies the
  process of sending content.
class_docstr_tok: ["MesageSender","is","a","wrapper","around","the","facebook","messenger","requests","that","simplifies","the","process","of","sending","content","."]
code: def send_sender_action(self, receiver_id, action, persona_id=None):
      api_address = (
          f"https://graph.facebook.com/{API_VERSION}/me/messages"
      )
      message = {
          "recipient": {"id": receiver_id},
          "sender_action": action,
      }
      if persona_id is not None:
          message["persona_id"] = persona_id
      requests.post(api_address, params=self.auth_args, json=message)
  
file_path: ParlAI/parlai/chat_service/services/messenger/message_sender.py
imports: import json
  import logging
  import requests
  import parlai.chat_service.utils.logging
label_desc: Use image node_id 2 for calling the MessageSender obj's underlying member method code with example usage: obj.send_sender_action(receiver_id, action, persona_id) without return types