class Glass::Subscription::Notification::Action

Constants

CUSTOM
DELETE
PIN
REPLY
REPLY_ALL
SHARE
UNPIN

Attributes

payload[RW]

An optional payload for the action.

For actions of type CUSTOM, this is the ID of the custom menu item that was selected.

type[RW]

The type of action. The value of this can be:

SHARE - the user shared an item.
REPLY - the user replied to an item.
REPLY_ALL - the user replied to all recipients of an item.
CUSTOM - the user selected a custom menu item on the timeline item.
DELETE - the user deleted the item.
PIN - the user pinned the item.
UNPIN - the user unpinned the item.

In the future, additional types may be added. UserActions with unrecognized types should be ignored.