그룹 채널 메시지
Module
Singleton Access object: GitpleLiveChat.groupChannel
- Swift
GitpleLiveChat.groupChannel...
// ex) getMessageList()
GitpleLiveChat.groupChannel.getMessageList { messages, errorType in
...
}
Payload
message: BaseMessage {
type: 'text' | 'file';
message_id: number;
channel_id: string;
created_at: number;
updated_at: number;
user: BaseUser;
content?: string;
filter?: {
origin_content: string;
type: ['profanity'];
};
file?: FileData;
meta?: {};
}
user: BaseUser {
user_id: string;
name: string;
created_at: number;
updated_at: number;
profile_url?: string;
meta?: {};
joined_at?: number;
}