This commit is contained in:
shoopea 2019-06-10 17:31:53 +08:00
parent f651f14620
commit a3b3d13e29

10
bot.go
View File

@ -115,8 +115,14 @@ func botTestHTML(m *tb.Message) {
return
}
c := TGCommand{
Type: commandReplyMsg,
Text: "<a href='https://t.me/share/url?url=/tu_def jgm2v8'>Defend</a>",
Type: commandReplyMsg,
Text: `<b>bold</b>,<br/>
<strong>bold</strong>,<br/>
<i>italic</i>,<br/>
<em>italic</em>,<br/>
<a href="https://t.me/share/url?url=/tu_def jgm2v8">inline URL</a>,<br/>
<code>inline fixed-width code</code>,<br/>
<pre>pre-formatted fixed-width code block</pre>`,
FromMsgID64: int64(m.ID),
FromChatID64: m.Chat.ID,
ParseMode: cmdParseModeHTML,