markdown
This method creates a message in Makrdown format.
Platform | Supported |
---|---|
Messenger | |
WhatsApp | |
Telegram |
@reply.markdown("*bold text* _italic text_ __underline__ ~strikethrough~")
@reply.markdown(
"*bold text* _italic text_ __underline__ ~strikethrough~",
{
button: [
{
payload: :option_1,
title: "Option 1!"
}
]
}
)
Name | Description |
---|---|
syntax
String | Required. |
reply_markup
Hash | Optional.
Hash with one element that can be: |
extra_params
Hash |
Last modified 8mo ago