ExGram.Model.RichTextAnchorLink (ex_gram v0.67.0)

Copy Markdown View Source

A link to an anchor.

Check the documentation of this model on Telegram Bot API

  • type: Type of the rich text, always "anchor_link”
  • text: The link text
  • anchor_name: The name of the anchor. If the name is empty, then the link brings back to the top of the message.

Summary

Types

t()

@type t() :: %ExGram.Model.RichTextAnchorLink{
  anchor_name: String.t(),
  text: ExGram.Model.RichText.t(),
  type: String.t()
}

Functions

decode_as()