provideMessageAlignment

Returns MessageAlignment for a particular MessageItemState.

Return

The MessageAlignment for the provided message.

Parameters

messageItem

The message whose data is used to decide which alignment to use.