code: def create_reply_option(title, payload=""):
      """
      Create a quick reply option.
  
      Takes in display title and optionally extra custom data.
      """
      assert (
          len(title) <= MAX_QUICK_REPLY_TITLE_CHARS
      ), "Quick reply title length {} greater than the max of {}".format(
          len(title), MAX_QUICK_REPLY_TITLE_CHARS
      )
      assert (
          len(payload) <= MAX_POSTBACK_CHARS
      ), "Payload length {} greater than the max of {}".format(
          len(payload), MAX_POSTBACK_CHARS
      )
      return {
          "content_type": "text",
          "title": title,
          "payload": payload,
      }
  
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 a global function with example usage: create_reply_option(title, payload) and returns: dict