Interface InputMedia.IMediaFile
protected interface InputMedia.IMediaFile
Properties
IsValid
bool IsValid { get; }
Property Value
Name
string Name { get; }
Property Value
Size
int Size { get; }
Property Value
ValidationError
string ValidationError { get; set; }
Property Value
Methods
Delete()
void Delete()
Open(Action<Stream>)
void Open(Action<Stream> action)
Parameters
Save(Guid, FileObjectType, string, bool)
FileStorageModel Save(Guid objectIdentifier, FileObjectType objectType, string fileName = null, bool checkFileValid = true)
Parameters
objectIdentifierGuidobjectTypeFileObjectTypefileNamestringcheckFileValidbool