All of the fields that activities can have.
It is only required to set one of TITLE_ID or TITLE. In addition, if you are using any variables in your title or title template, you must set TEMPLATE_PARAMS.
Other possible fields to set are: URL, MEDIA_ITEMS, BODY_ID, BODY, EXTERNAL_ID, PRIORITY, STREAM_TITLE, STREAM_URL, STREAM_SOURCE_URL, and STREAM_FAVICON_URL.
Containers are only required to use TITLE_ID or TITLE, they may ignore additional parameters.
See also: opensocial.Activity.getField()
<static> object
APP_ID
<static> object
BODY
A string specifying an optional expanded version of an activity.
<static> object
BODY_ID
A string specifying the body template message ID in the gadget spec.
<static> object
EXTERNAL_ID
<static> object
ID
<static> object
MEDIA_ITEMS
<static> object
POSTED_TIME
<static> object
PRIORITY
<static> object
STREAM_FAVICON_URL
<static> object
STREAM_SOURCE_URL
<static> object
STREAM_TITLE
<static> object
STREAM_URL
<static> object
TEMPLATE_PARAMS
A map of custom keys to values associated with this activity.
<static> object
TITLE
A string specifying the primary text of an activity.
<static> object
TITLE_ID
A string specifying the title template message ID in the gadget spec.
<static> object
URL
<static> object
USER_ID
<static> object APP_ID
<static> object BODY
A string specifying an optional expanded version of an activity.
Bodies may only have the following HTML tags: <b> <i>, <a>, <span>. The container may ignore this formatting when rendering the activity.
<static> object BODY_ID
A string specifying the body template message ID in the gadget spec.
The body is an optional expanded version of an activity.
Bodies may only have the following HTML tags: <b> <i>, <a>, <span>. The container may ignore this formatting when rendering the activity.
<static> object EXTERNAL_ID
<static> object ID
<static> object MEDIA_ITEMS
Array<
MediaItem>.
<static> object POSTED_TIME
<static> object PRIORITY
<static> object STREAM_FAVICON_URL
<static> object STREAM_SOURCE_URL
<static> object STREAM_TITLE
<static> object STREAM_URL
<static> object TEMPLATE_PARAMS
A map of custom keys to values associated with this activity. These will be used for evaluation in templates.
The data has type Map<String, Object>. The
object may be either a String or an opensocial.Person.
When passing in a person with key PersonKey, can use the following replacement variables in the template:
<static> object TITLE
A string specifying the primary text of an activity.
Titles may only have the following HTML tags: <b> <i>, <a>, <span>. The container may ignore this formatting when rendering the activity.
<static> object TITLE_ID
A string specifying the title template message ID in the gadget spec.
The title is the primary text of an activity.
Titles may only have the following HTML tags: <b> <i>, <a>, <span>. The container may ignore this formatting when rendering the activity.
<static> object URL
<static> object USER_ID