2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Update examples

This commit is contained in:
Dan 2018-01-24 22:17:12 +01:00
parent 92caf0125d
commit a3fea25890

View File

@ -59,11 +59,11 @@ Examples
client.send_message( client.send_message(
chat_id="me", chat_id="me",
text=( text=(
"**bold**\n" "**bold**, "
"__italic__\n" "__italic__, "
"[mention](tg://user?id=23122162)\n" "[mention](tg://user?id=23122162), "
"[url](https://pyrogram.ml)\n" "[url](https://pyrogram.ml), "
"`code`\n" "`code`"
) )
) )
@ -91,12 +91,12 @@ Examples
client.send_message( client.send_message(
chat_id="me", chat_id="me",
text=( text=(
"<b>bold</b>, <strong>bold</strong>\n" "<b>bold</b>, <strong>bold</strong>, "
"<i>italic</i>, <em>italic</em>\n" "<i>italic</i>, <em>italic</em>, "
"<a href=\"https://pyrogram.ml/\">inline URL</a>\n" "<a href=\"https://pyrogram.ml/\">inline URL</a>, "
"<a href=\"tg://user?id=23122162\">inline mention of a user</a>\n" "<a href=\"tg://user?id=23122162\">inline mention of a user</a>, "
"<code>inline fixed-width code</code>\n" "<code>inline fixed-width code</code>, "
"<pre>pre-formatted fixed-width code block</pre>\n" "<pre>pre-formatted fixed-width code block</pre>"
), ),
parse_mode=ParseMode.HTML parse_mode=ParseMode.HTML
) )