tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Support formatting text (e.g. bold, italic, and link)

Open meness opened this issue 11 years ago • 96 comments

meness avatar Dec 15 '14 12:12 meness

Related #250.

sigod avatar Dec 15 '14 13:12 sigod

That is not planned, because it will complicate everything. Telegram is mobile-first app, no such features can be widely used on mobiles.

ghost avatar Dec 16 '14 23:12 ghost

@telegramdesktop This feature is not suitable for mobiles as It is for desktop client, but It is better You implement it on desktop client for the first time just like Skype.

meness avatar Dec 17 '14 07:12 meness

@telegramdesktop Yeh. Like hashtag search (c93e4e2)? Mobile versions doesn't support this feature.

sigod avatar Dec 17 '14 09:12 sigod

It's impossible even if you use G+ way to do it? I mean if you want to BOLD italic or -skitetrouth- you just add *, _ or - to the beginning and on the end of sentence.

MDIV666 avatar Jul 09 '15 14:07 MDIV666

This is going to be supported in Android and OSX, at least that's what the Bot API updated right now: https://core.telegram.org/bots/api#sendmessage Check the parse_mode field.

rockneurotiko avatar Sep 07 '15 19:09 rockneurotiko

I think it's already implemented in Telegram Desktop :yum:

auchri avatar Sep 07 '15 19:09 auchri

@auchri Sorry, but it isn't 😭

ghost avatar Sep 07 '15 20:09 ghost

@telegramdesktop Are you planning on implementing this at any point, I feel this would be a good addition and it was stated on the bot API that it would be implemented into other clients "soon" back on september 7th.

zackpollard avatar Nov 02 '15 02:11 zackpollard

@zackpollard It is supported in dev version already.

ghost avatar Nov 02 '15 04:11 ghost

@telegramdesktop Yea, sorry, noticed the dev branch and found the dev builds after I made this post, running the dev build now and updated my bot API to support the formatting :P

zackpollard avatar Nov 02 '15 04:11 zackpollard

Today they added @bold bot that is absolutely non-intuitive and can't make a part of message italic or bold. code already works, why not add italic and bold - the way we all are used to?

baziliolg avatar Jan 04 '16 18:01 baziliolg

code already works, why not add italic and bold - the way we all are used to?

Agree, that would be pretty slick. Has anyone figured out if code supports multi-line messages or not? They don't seem to work on desktop at least.

ghost avatar Jan 04 '16 22:01 ghost

@cubrr

```
asdasd
asdas
dasd
```

gets

image

:wink:

auchri avatar Jan 04 '16 22:01 auchri

@auchri Oh damn. That's nice. Thanks!

ghost avatar Jan 04 '16 22:01 ghost

someone know if its possible to format italic this string "max_92" ? I'm having problem on escaping the _ inside the string

KilluaFein avatar Jan 24 '16 23:01 KilluaFein

@KilluaFein It is possible to escape the _ easily by doing _ if sending the message with markdown formatting enable via a bot.

zackpollard avatar Jan 24 '16 23:01 zackpollard

@zackpollard I've tried that, but returning http error 400: bad request

KilluaFein avatar Jan 25 '16 01:01 KilluaFein

@zackpollard ops, done! correct syntax is _max___92

KilluaFein avatar Jan 25 '16 01:01 KilluaFein

Now than Whatsapp support italic and _bold_, any chance for Telegram??

PeterMX avatar Mar 17 '16 23:03 PeterMX