public void TestStaticGetRoomFiles() { var roomId = RoomList != null && RoomList.Any() ? RoomList.First() : Room; var parameters = new FilesParameters { AccountId = AccountId, }; var response = ChatworkClient.GetRoomFiles(Token, roomId, parameters); AssertGetFilesResponse(response); }
public async void TestStaticGetRoomFilesAsync() { var roomId = RoomList != null && RoomList.Any() ? RoomList.First() : Room; var parameters = new FilesParameters { AccountId = AccountId, }; var response = await ChatworkClient.GetRoomFilesAsync(Token, roomId, parameters) .ConfigureAwait(false); AssertGetFilesResponse(response); }
public void TestGetRoomFilesAsyncCallback() { var roomId = RoomList != null && RoomList.Any() ? RoomList.First() : Room; var parameters = new FilesParameters { AccountId = AccountId, }; Client.GetRoomFilesAsync( AssertGetFilesResponse, roomId, parameters); }