public ShareFileWithRoom ( string roomName, string fileFullPath, string message = null ) : bool | ||
roomName | string | |
fileFullPath | string | |
message | string | |
return | bool |
public ViewRecentRoomHistoryTests() { const string roomName = "Test ViewRecentRoomHistory"; HipchatApiConfig.AuthToken = TestsConfig.AuthToken; _client = new HipchatClient(); _existingRoomId = TestHelpers.GetARoomId(_client, roomName); _existingRoomName = roomName; // Add notifications to history _client.SendNotification(_existingRoomId, "First entry to history"); _client.ShareFileWithRoom(_existingRoomId.ToString(), @"..\..\Data\RUv8sSn.png", "Second entry to history with file"); }