class MessengerClient::URLButton

Public Instance Methods

to_json() click to toggle source
# File lib/messenger_client/url_button.rb, line 5
def to_json
  {
    type:  "web_url",
    title: @text,
    url:   @data
  }
end