Class SendFile
A file to be sent by the bot. Usually one of SendFileId, SendFileUrl and SendFileMultipart
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Upload
Assembly: TelegramBotApi.dll
Syntax
public abstract class SendFile
Properties
| Improve this Doc View SourceType
The way to send the file
Declaration
public abstract SendFileType Type { get; }
Property Value
Type | Description |
---|---|
SendFileType |
Operators
| Improve this Doc View SourceImplicit(String to SendFile)
Converts a string into a file to send.
Declaration
public static implicit operator SendFile(string urlFileIdOrPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | urlFileIdOrPath | The url or telegram file id of the file |
Returns
Type | Description |
---|---|
SendFile |