Rock Mobile Docs

SMS Conversation

Manage an SMS message conversation with a modern UI.

Configuration

Snippet Type

The type of snippets that will be made available via the snippet keyboard button.

Message Count

The number of messages to be returned each time more messages are requested.

Database Timeout

The number of seconds to wait before reporting a database timeout.

Page Parameters

The following query string parameters are recognized and utilized by this block.

NameTypeDescription
PhoneNumberGuidGuidThe Rock phone number that should be used for this conversation.
PersonGuidGuidThe Guid of the Person to be communicated with.

Styling

The SMS Conversations CSS X-Ray.

Message Bubbles

To style message bubbles, we introduced the following custom CSS classes.

ValueTypeDescription
-rock-inbound-background-colorColorThe color of the inbound messages background.
-rock-inbound-text-colorColorThe color of the inbound messages text.
-rock-outbound-background-colorColorThe color of the outbound messages background.
-rock-outbound-text-colorColorThe color of the outbound messages text.

You can target these elements by using the ^MessageBubble selector.

^MessageBubble {
  -rock-inbound-background-color: orange;
}