/// <summary>
        /// Changes the title and icon type of the specified chat asynchronously.
        /// </summary>
        /// <param name="roomId">The chat room id.</param>
        /// <param name="parameters">The room updating data.</param>
        /// <returns>The response data.</returns>
        public async Task <ResponseData <DataType> > PutRoomAsync(long roomId, ParametersType parameters)
        {
            var path = string.Format(CultureInfo.InvariantCulture, Path.Room, roomId);

            return(await Communicator.CreatePutTask <DataType, ParametersType>(path, parameters)
                   .ConfigureAwait(false));
        }
        /// <summary>
        /// Changes the title and icon type of the specified chat.
        /// </summary>
        /// <param name="roomId">The chat room id.</param>
        /// <param name="parameters">The room updating data.</param>
        /// <returns>The response data.</returns>
        public ResponseData <DataType> PutRoom(long roomId, ParametersType parameters)
        {
            var path = string.Format(CultureInfo.InvariantCulture, Path.Room, roomId);

            return(Communicator.Put <DataType, ParametersType>(path, parameters));
        }
 /// <summary>
 /// Changes the title and icon type of the specified chat asynchronously.
 /// </summary>
 /// <param name="token">The API token.</param>
 /// <param name="callback">The callback action.</param>
 /// <param name="roomId">The chat room id.</param>
 /// <param name="parameters">The room updating data.</param>
 public static async void PutRoomAsync(string token, Action <ResponseData <DataType> > callback, long roomId, ParametersType parameters)
 {
     var path = string.Format(CultureInfo.InvariantCulture, Path.Room, roomId);
     await APICommunicator.CreatePutTask(token, callback, path, parameters)
     .ConfigureAwait(false);
 }