public override async Task RoomAnnounce(string roomId, string text) { var request = new RoomAnnounceRequest { Id = roomId, Text = text }; await grpcClient.RoomAnnounceAsync(request); }
public override async Task <string> RoomAnnounce(string roomId) { var request = new RoomAnnounceRequest { Id = roomId }; var response = await grpcClient.RoomAnnounceAsync(request); return(response?.Text); }
public async Task <string> RoomAnnounce(string roomId, string text = "") { var request = new RoomAnnounceRequest(); request.Id = roomId; if (!string.IsNullOrEmpty(text)) { request.Text = text; } var response = await grpcClient.RoomAnnounceAsync(request); return(response?.Text); }