Class InputTextMessageContent
Represents a link to an article or web page.
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 SourceDisableWebPagePreview
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 |
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 |
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 |