class Google::Apis::ChatV1::OnClick

An onclick action (e.g. open a link).

Attributes

action[RW]

A form action describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form. Corresponds to the JSON property `action` @return [Google::Apis::ChatV1::FormAction]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 2494
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 2499
def update!(**args)
  @action = args[:action] if args.key?(:action)
  @open_link = args[:open_link] if args.key?(:open_link)
end