Class SendFileUrl
Represents a file to be sent via URL
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 SendFileUrl : SendFile
Constructors
| Improve this Doc View SourceSendFileUrl(String)
Initializes a new instance of the SendFileUrl class
Declaration
public SendFileUrl(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The url of the file to send |
Properties
| Improve this Doc View SourceType
This file is to be sent as an URL
Declaration
public override SendFileType Type { get; }
Property Value
Type | Description |
---|---|
SendFileType |
Overrides
| Improve this Doc View SourceUrl
The URL of the file to send
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |