Class InstagramButtonTemplate.Button

java.lang.Object
com.bytedesk.social.instagram.InstagramButtonTemplate.Button
Enclosing class:
InstagramButtonTemplate

public static class InstagramButtonTemplate.Button extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    回传按钮的负载数据 (仅当type为"postback"时使用) 发送到webhook的字符串
    private String
    按钮文本
    private String
    按钮类型 - "web_url": URL按钮,在应用内浏览器中打开网页 - "postback": 回传按钮,发送messaging_postbacks事件到webhook
    private String
    URL按钮的目标网址 (仅当type为"web_url"时使用)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • type

      private String type
      按钮类型 - "web_url": URL按钮,在应用内浏览器中打开网页 - "postback": 回传按钮,发送messaging_postbacks事件到webhook
    • title

      private String title
      按钮文本
    • url

      private String url
      URL按钮的目标网址 (仅当type为"web_url"时使用)
    • payload

      private String payload
      回传按钮的负载数据 (仅当type为"postback"时使用) 发送到webhook的字符串
  • Constructor Details

    • Button

      public Button()