Chat

public struct Chat : Codable

카카오톡 채팅방을 나타냅니다.

  • id

    채팅방 아이디

    Declaration

    Swift

    public let id: Int64
  • 채팅방 이름

    Declaration

    Swift

    public let title: String
  • 이미지 URL

    Declaration

    Swift

    public let imageUrl: URL?
  • 참여한 멤버 수

    Declaration

    Swift

    public let memberCount: Int?
  • 화면에 표시할 대표 멤버 이미지 URL 목록

    Declaration

    Swift

    public let displayMemberImages: [URL]?
  • 채팅방의 종류(오픈채팅(open), 일반채팅(regular))

    Declaration

    Swift

    public let chatType: String
  • Declaration

    Swift

    public init(from decoder: Decoder) throws