diff --git a/SlackNet/WebApi/FilesApi.cs b/SlackNet/WebApi/FilesApi.cs index c27a506..36d8b82 100644 --- a/SlackNet/WebApi/FilesApi.cs +++ b/SlackNet/WebApi/FilesApi.cs @@ -90,7 +90,7 @@ Task List( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload that takes an ExternalFile instead.")] + [Obsolete("Use the overload that takes a FileUpload instead.")] Task Upload( string fileContents, string fileType = null, @@ -114,7 +114,7 @@ Task Upload( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload that takes an ExternalFile instead.")] + [Obsolete("Use the overload that takes a FileUpload instead.")] Task Upload( byte[] fileContents, string fileType = null, @@ -138,7 +138,7 @@ Task Upload( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload that takes an ExternalFile instead.")] + [Obsolete("Use the overload that takes a FileUpload instead.")] Task Upload( Stream fileContents, string fileType = null, @@ -164,7 +164,7 @@ Task Upload( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload of Upload that takes an ExternalFile instead.")] + [Obsolete("Use the overload of Upload that takes a FileUpload instead.")] Task UploadSnippet( string snippet, string fileType = null,