test
This commit is contained in:
parent
f651f14620
commit
a3b3d13e29
10
bot.go
10
bot.go
@ -115,8 +115,14 @@ func botTestHTML(m *tb.Message) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: "<a href='https://t.me/share/url?url=/tu_def jgm2v8'>Defend</a>",
|
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),
|
FromMsgID64: int64(m.ID),
|
||||||
FromChatID64: m.Chat.ID,
|
FromChatID64: m.Chat.ID,
|
||||||
ParseMode: cmdParseModeHTML,
|
ParseMode: cmdParseModeHTML,
|
||||||
|
Loading…
Reference in New Issue
Block a user