FCMStyle object.
Methods
build()
Builds FCMStyle values.
lines(lines)
Parameters:
Name | Type | Description |
---|---|---|
lines |
Array.<string> | An array of strings that is to be displayed in inbox style for inbox_notification. Must be specified for inbox_notification. |
Returns:
The Builder object for calls to be linked.
text(text)
Parameters:
Name | Type | Description |
---|---|---|
text |
string | The big text that needs to be displayed on expanding a bigtext_notification. Must be specified for bigtext_notification. |
Returns:
The Builder object for calls to be linked.
title(title)
Parameters:
Name | Type | Description |
---|---|---|
title |
string | Specifies the title of the notification. The title is displayed when the notification is expanded. Title must be specified for all three expandable notification. |
Returns:
The Builder object for calls to be linked.
type(type)
Parameters:
Name | Type | Description |
---|---|---|
type |
string | Specifies the type of expandable notifications. The possible values are bigtext_notification, picture_notification, inbox_notification. |
Returns:
The Builder object for calls to be linked.
url(url)
Parameters:
Name | Type | Description |
---|---|---|
url |
string | An URL from which the picture has to be obtained for the notification. Must be specified for picture_notification. |
Returns:
The Builder object for calls to be linked.