Skip to content

Instantly share code, notes, and snippets.

@EnesKaraosman
Created May 31, 2020 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EnesKaraosman/bc6301eea6f21943a0128654763b6949 to your computer and use it in GitHub Desktop.
Save EnesKaraosman/bc6301eea6f21943a0128654763b6949 to your computer and use it in GitHub Desktop.
ChatMessage
struct ChatMessage: Identifiable {
var id = UUID()
var user: ChatUser
var messageKind: ChatMessageKind
var isSender: Bool
var date: Date
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment