using System;
using System.Threading.Tasks;
namespace LeanCloud.Realtime {
///
/// 系统对话
///
public class LCIMServiceConversation : LCIMConversation {
public LCIMServiceConversation(LCIMClient client) : base(client) {
}
public async Task Subscribe() {
await Join();
}
public async Task Unsubscribe() {
await Quit();
}
public async Task CheckSubscription() {
return await Client.ConversationController.CheckSubscription(Id);
}
}
}