예제 #1
0
파일: Chat.cs 프로젝트: k-boyle/Pusharp
        private async Task ModifyAsync(bool isMuted)
        {
            var model = await _client.RequestClient.SendAsync <Model>("/v2/chats", HttpMethod.Post, new MutedParameter
            {
                IsMuted = isMuted
            }).ConfigureAwait(false);

            _model = model;
        }
예제 #2
0
파일: Chat.cs 프로젝트: k-boyle/Pusharp
 internal Chat(Model model, PushBulletClient client)
 {
     _model  = model;
     _client = client;
 }