마이페이지 추가
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// GetMemberInfoResponse.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/10.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum MemberRole: String, Decodable {
|
||||
case USER, CREATOR, AGENT, ADMIN, BOT
|
||||
}
|
||||
|
||||
struct GetMemberInfoResponse: Decodable {
|
||||
let can: Int
|
||||
let isAuth: Bool
|
||||
let role: MemberRole
|
||||
let messageNotice: Bool?
|
||||
let followingChannelLiveNotice: Bool?
|
||||
let followingChannelUploadContentNotice: Bool?
|
||||
}
|
Reference in New Issue
Block a user