ShareFileWithRoom() 공개 메소드

public ShareFileWithRoom ( string roomName, string fileFullPath, string message = null ) : bool
roomName string
fileFullPath string
message string
리턴 bool
예제 #1
0
        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");
        }