MessageStatus
struct MessageStatus : View
The small status image of a message. An eye for example means that the receiver of the message has seen it.
-
The message entity to add a status image to.
Declaration
Swift
let message: MessageEntity
-
Get the
enum
status type of a message.This is done by convertung the raw value of a
message.status
to aStatus
type.Declaration
Swift
func messageStatusEnum(message: MessageEntity) -> Status
Parameters
message
The message to get the status from.
Return Value
The actual status of the message.
Status.unknown
if it fails. -
Declaration
Swift
var body: some View { get }