Show / Hide Table of Contents

Class InputTextMessageContent

Represents a link to an article or web page.

Inheritance
System.Object
InputMessageContent
InputTextMessageContent
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.Inline
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class InputTextMessageContent : InputMessageContent

Properties

| Improve this Doc View Source

DisableWebPagePreview

Optional. Disables link previews for links in the sent message

Declaration
[JsonProperty(PropertyName = "disable_web_page_preview")]
public bool DisableWebPagePreview { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

MessageText

Text of the message to be sent, 1-4096 characters

Declaration
[JsonProperty(PropertyName = "message_text", Required = Required.Always)]
public string MessageText { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ParseMode

Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.

Declaration
public ParseMode ParseMode { get; set; }
Property Value
Type Description
ParseMode
  • Improve this Doc
  • View Source
Back to top Generated by DocFX