Google.Apps.Script.Type - Class ComposeTrigger (2.2.0)

public sealed class ComposeTrigger : IMessage<ComposeTrigger>, IEquatable<ComposeTrigger>, IDeepCloneable<ComposeTrigger>, IBufferMessage, IMessage

Reference documentation and code samples for the Google.Apps.Script.Type class ComposeTrigger.

A trigger that activates when user is composing an email.

Inheritance

object > ComposeTrigger

Namespace

Google.Apps.Script.Type.Gmail

Assembly

Google.Apps.Script.Type.dll

Constructors

ComposeTrigger()

public ComposeTrigger()

ComposeTrigger(ComposeTrigger)

public ComposeTrigger(ComposeTrigger other)
Parameter
NameDescription
otherComposeTrigger

Properties

Actions

public RepeatedField<MenuItemExtensionPoint> Actions { get; }

Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.

Property Value
TypeDescription
RepeatedFieldMenuItemExtensionPoint

DraftAccess

public ComposeTrigger.Types.DraftAccess DraftAccess { get; set; }

Define the level of data access when a compose time addon is triggered.

Property Value
TypeDescription
ComposeTriggerTypesDraftAccess