Class OnClick
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class OnClick : IMessage<OnClick>, IEquatable<OnClick>, IDeepCloneable<OnClick>, IBufferMessage, IMessage
Constructors
OnClick()
Declaration
OnClick(OnClick)
Declaration
public OnClick(OnClick other)
Parameters
Type |
Name |
Description |
OnClick |
other |
|
Properties
Action
If specified, an action is triggered by this onClick
.
Declaration
public Action Action { get; set; }
Property Value
Card
Declaration
public Card Card { get; set; }
Property Value
DataCase
Declaration
public OnClick.DataOneofCase DataCase { get; }
Property Value
OpenDynamicLinkAction
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
Declaration
public Action OpenDynamicLinkAction { get; set; }
Property Value
OpenLink
If specified, this onClick
triggers an open link action.
Declaration
public OpenLink OpenLink { get; set; }
Property Value