forked from linvi/tweetinvi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linvi#492 Added a new UploadMediaCategory enum to simplify the upload…
… video/images. 2 new methods are now available in the static class Upload.
- Loading branch information
Showing
3 changed files
with
89 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Tweetinvi.Core/Public/Models/Enum/UploadVideoMediaCategory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Tweetinvi.Core.Public.Models.Enum | ||
{ | ||
/// <summary> | ||
/// List of known media categories. This list might not be complete. | ||
/// Use the string mediaCategory parameter if you need to use another one. | ||
/// </summary> | ||
public enum UploadMediaCategory | ||
{ | ||
None, | ||
TweetImage, | ||
TweetGif, | ||
TweetVideo, | ||
AmplifyVideo, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters