markdown
This method creates a message in Makrdown format.
Last updated
Was this helpful?
This method creates a message in Makrdown format.
Last updated
Was this helpful?
Was this helpful?
markdown(syntax=String, reply_markup=Hash, extra_params=Hash)
Messenger
Telegram
@reply.markdown("*bold text* _italic text_ __underline__ ~strikethrough~")
@reply.markdown(
"*bold text* _italic text_ __underline__ ~strikethrough~",
{
button: [
{
payload: :option_1,
title: "Option 1!"
}
]
}
)
syntax
String
Required.
The Markdown syntax with 4096 characters max. View the styles supported here.
reply_markup
Hash
Optional. Hash with one element that can be:
:quick_reply
=> inlinekeyboardmarkup
:button
=> replykeyboardmarkup
extra_params
Hash
Optional. Hash with more params, view the full list from Telegram.