Hi everyone,
I’m trying to specify whether to show a preview of links mentioned in a text message. How to convert string to nullable ?
I want it like this:
Can you help me?
Thanks in advance,
Tuan
Hi everyone,
I’m trying to specify whether to show a preview of links mentioned in a text message. How to convert string to nullable ?
I want it like this:
Can you help me?
Thanks in advance,
Tuan
What does the string look like, that you want to convert?
A nullable boolean means basically a value that can be True, False, or Null (Nothing). Passing a null would presumably execute some default behaviour.
How about passing:
True
if you want to “Unfurl” the linksFalse
if you don’t want it.?
@efelantti
I haven’t found a solution yet !
It’s not working? Is there an error message displayed?
Instead of Boolean.TryParse(test, True)
, pass just True
.
@efelantti
It should be like this:
Regards
Tuan
Can you try setting the message to this:
<https://translate.google.com/|Google Translate>
@efelantti
it works. Thank you very much
I suggest you to try surrounding the text you want to make bold with asterisks like this:
*bold text*
Here’s mentioned some Slack formatting options: Format your messages | Slack - https://slack.com/.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.