textButton
Signature
Section titled “Signature”textButton#afc79cd6 flags:# text:RichText type:InlineButtonType style:flags.0?RichButtonStyle = RichText;Result type
Section titled “Result type”RichText
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| text | RichText | — | — | |
| type | InlineButtonType | — | — | |
| style | flags.0?RichButtonStyle | flags.0 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| style | 0 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import TextButtonPublic access: miniproto.raw.types.TextButton.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
RichText - Related constructors:
textAnchor,textAutoEmail,textAutoPhone,textAutoUrl,textBankCard,textBold,textBotCommand,textCashtag,textConcat,textCustomEmoji,textDate,textDiff,textEmail,textEmpty,textFixed,textHashtag,textImage,textItalic,textMarked,textMath,textMention,textMentionName,textPhone,textPlain,textSpoiler,textStrike,textSubscript,textSuperscript,textTonAddress,textUnderline,textUrl - Accepted by:
inputReplyToMessage,messageReplyHeader,pageBlockAuthorDate,pageBlockBlockquote,pageBlockBlockquoteBlocks,pageBlockDetails,pageBlockFooter,pageBlockHeader,pageBlockHeading1,pageBlockHeading2,pageBlockHeading3,pageBlockHeading4,pageBlockHeading5,pageBlockHeading6,pageBlockKicker,pageBlockParagraph,pageBlockPreformatted,pageBlockPullquote,pageBlockRelatedArticles,pageBlockSubheader,pageBlockSubtitle,pageBlockTable,pageBlockThinking,pageBlockTitle,pageButton,pageCaption,pageListItemText,pageListOrderedItemText,pageTableCell,textAnchor,textAutoEmail,textAutoPhone,textAutoUrl,textBankCard,textBold,textBotCommand,textButton,textCashtag,textConcat,textDate,textDiff,textEmail,textFixed,textHashtag,textItalic,textMarked,textMention,textMentionName,textPhone,textSpoiler,textStrike,textSubscript,textSuperscript,textTonAddress,textUnderline,textUrl