Class SendFileId
A file that has already been uploaded to telegram to be sent using a telegram file identifier
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 class SendFileId : SendFile
Constructors
| Improve this Doc View SourceSendFileId(String)
Initializes a new instance of the SendFileId class
Declaration
public SendFileId(string fileId)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileId | The telegram identifier of the file to send |
Properties
| Improve this Doc View SourceFileId
Telegrams unique identifier of the file to send
Declaration
public string FileId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
This sends a file via file id
Declaration
public override SendFileType Type { get; }
Property Value
Type | Description |
---|---|
SendFileType |