Skip to content

InternalLinkTypeMessageDraft

Type · TDLib 1.8.67 · d1085f9c

The link contains a message draft text. A share screen needs to be shown to the user, then the chosen chat must be opened and the text is added to the input field

InternalLinkTypeMessageDraft(
  text: FormattedText,
  contains_link: Bool
) → InternalLinkType

text

FormattedText

Message draft text

Bool

True, if the first line of the text contains a link. If true, the input field needs to be focused and the text after the link must be selected