This commit is contained in:
shoopea 2019-06-10 17:34:46 +08:00
parent a3b3d13e29
commit 4476d9247b

12
bot.go
View File

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