getViewType

open fun getViewType(@NonNull message: BaseMessage): Int

Return the type of message as an integer.

Return

Type of message as an integer.

Parameters

message

Message to know the type.