Skip to content

Releases: karb0f0s/Telegram.Bot.Extensions.Markup

Set minimal Telegram.Bot version

10 Aug 05:19
4c5e3cc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

02 Apr 21:13
56503b7
Compare
Choose a tag to compare

Telegram.Bot.Extensions.Markup

v1.0.1

Changes

  • Update README.md

v1.0.0

Under Telegram.Bot.Extensions.Markup namespace following static methods are available:

  • Tools.EscapeMarkdown - helper method to escape telegram markup symbols.
  • Tools.MentionHtml - helper method to create a user mention as HTML tag.
  • Tools.MentionMarkdown - helper method to create a user mention in Markdown syntax.
  • Tools.CreateDeepLinkedUrl - helper method to create a deep-linked URL.

Under Telegram.Bot.Extensions.Markup.Helpers namespace following static methods are available:

  • MessageEntityHelpers.ParseEntities - maps Message.Entities to Message.Text.
  • MessageEntityHelpers.ParseCaptionEntities - maps Message.CaptionEntities to Message.Caption.

Under Telegram.Bot.Extensions.Markup namespace following Message extension methods are available:

  • TextHtml - creates an HTML-formatted string from the markup entities found in the message.
  • TextHtmlUrled - creates an HTML-formatted string from the markup entities found in the message.
  • CaptionHtml - creates an HTML-formatted string from the markup entities found in the message's caption.
  • CaptionHtmlUrled - creates an HTML-formatted string from the markup entities found in the message's caption.
  • TextMarkdown - creates a Markdown-formatted string from the markup entities found in the message using ParseMode.Markdown.
  • TextMarkdownV2 - creates a Markdown-formatted string from the markup entities found in the message using ParseMode.MarkdownV2.
  • TextMarkdownUrled - creates a Markdown-formatted string from the markup entities found in the message
    using ParseMode.Markdown.
  • TextMarkdownV2Urled - creates a Markdown-formatted string from the markup entities found in the message
    using ParseMode.MarkdownV2.
  • CaptionMarkdown - creates an Creates a Markdown-formatted string from the markup entities found in the message's
    caption using ParseMode.Markdown.
  • CaptionMarkdownV2 - creates an Creates a Markdown-formatted string from the markup entities found in the message's
    caption using ParseMode.MarkdownV2.
  • CaptionMarkdownUrled - creates a Markdown-formatted string from the markup entities found in the message's caption using ParseMode.Markdown.
  • CaptionMarkdownV2Urled - creates a Markdown-formatted string from the markup entities found in the message's caption using ParseMode.MarkdownV2.

v1.0.0

02 Apr 21:03
be7f43e
Compare
Choose a tag to compare

Release v1.0.0

Under Telegram.Bot.Extensions.Markup namespace following static methods are available:

  • Tools.EscapeMarkdown - helper method to escape telegram markup symbols.
  • Tools.MentionHtml - helper method to create a user mention as HTML tag.
  • Tools.MentionMarkdown - helper method to create a user mention in Markdown syntax.
  • Tools.CreateDeepLinkedUrl - helper method to create a deep-linked URL.

Under Telegram.Bot.Extensions.Markup.Helpers namespace following static methods are available:

  • MessageEntityHelpers.ParseEntities - maps Message.Entities to Message.Text.
  • MessageEntityHelpers.ParseCaptionEntities - maps Message.CaptionEntities to Message.Caption.

Under Telegram.Bot.Extensions.Markup namespace following Message extension methods are available:

  • TextHtml - creates an HTML-formatted string from the markup entities found in the message.
  • TextHtmlUrled - creates an HTML-formatted string from the markup entities found in the message.
  • CaptionHtml - creates an HTML-formatted string from the markup entities found in the message's caption.
  • CaptionHtmlUrled - creates an HTML-formatted string from the markup entities found in the message's caption.
  • TextMarkdown - creates a Markdown-formatted string from the markup entities found in the message using ParseMode.Markdown.
  • TextMarkdownV2 - creates a Markdown-formatted string from the markup entities found in the message using ParseMode.MarkdownV2.
  • TextMarkdownUrled - creates a Markdown-formatted string from the markup entities found in the message
    using ParseMode.Markdown.
  • TextMarkdownV2Urled - creates a Markdown-formatted string from the markup entities found in the message
    using ParseMode.MarkdownV2.
  • CaptionMarkdown - creates an Creates a Markdown-formatted string from the markup entities found in the message's
    caption using ParseMode.Markdown.
  • CaptionMarkdownV2 - creates an Creates a Markdown-formatted string from the markup entities found in the message's
    caption using ParseMode.MarkdownV2.
  • CaptionMarkdownUrled - creates a Markdown-formatted string from the markup entities found in the message's caption using ParseMode.Markdown.
  • CaptionMarkdownV2Urled - creates a Markdown-formatted string from the markup entities found in the message's caption using ParseMode.MarkdownV2.