最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to send a message with collapsed long quote with telegram api? - Stack Overflow

programmeradmin1浏览0评论

Example params:

{
    "chat_id": 123
    "text": "<blockquoute>Short text</blockquoute>\n\n<blockquoute>..Long text..</blockquoute>",
    "parse_mode": "HTML"
}

Can I collapse only 2nd (long) quote and don't change 1st (short)?

Example params:

{
    "chat_id": 123
    "text": "<blockquoute>Short text</blockquoute>\n\n<blockquoute>..Long text..</blockquoute>",
    "parse_mode": "HTML"
}

Can I collapse only 2nd (long) quote and don't change 1st (short)?

Share Improve this question asked Feb 10 at 15:58 DaDaDaDa 32 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You can append expandable to the tag to make it expandable.

<blockquote expandable>...</blockquote>

Keep in mind there must be a few lines, otherwise there is nothing to expend.


As an example, the following text

<blockquote>A Short Quote</blockquote><blockquote expandable>Expandable block quotation started%0AThis is a very long text%0Athat you can expend by clicking the arrow%0AAnd here is even more text</blockquote>

Results in:

发布评论

评论列表(0)

  1. 暂无评论