Show / Hide Table of Contents

Class SendFile

A file to be sent by the bot. Usually one of SendFileId, SendFileUrl and SendFileMultipart

Inheritance
System.Object
SendFile
SendFileAttach
SendFileId
SendFileMultipart
SendFileUrl
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 Source

Type

The way to send the file

Declaration
public abstract SendFileType Type { get; }
Property Value
Type Description
SendFileType

Operators

| Improve this Doc View Source

Implicit(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX