Open mariopaolo opened 9 months ago
I'm glad you like it! At the moment, styling is not supported, but it should be easy to add. Feel free to open a PR. I can also take a look a bit later.
hey @filipre I just created a pull request here https://github.com/filipre/signalbot/pull/42 I tested it and it works but be gentle though, this is my first pull request 😅 if there is any problem let me know
Thanks a lot! For anyone who wants to give it a test before the release, feel free to checkout https://github.com/filipre/signalbot/pull/42#issuecomment-1871503288
(Nice to find the project, I am migrating my bot away from Telegram Bot) I think I'm almost there with styling, but maybe I'm not understanding the implementation.
In the examples folder the "styles.py" file the text is entirely surrounded by the marker characters, but I'd like something like:
fixed-width
some normal text something bold and now italic
All in one message. I can't find where the styling is applied...? signalbot or signal-cliAnyway, the results are strange and the styling is, well, off -- and seemingly random. Does this mean the entire text message must be completely styled one-way?
wanna start off saying this tool is amazing, I love it and use
signalbot
every day 😀I would like to know if it's possible to support text styling in
signalbot
when sending messages. I seesignal-cli
correctly registers the current text styling, here an example:but I can't seem to be able to set it in
signalbot
and cant find any reference inbot.py
https://github.com/filipre/signalbot/blob/71e09a1f96362d24ae3747a98ce3caecc29cdc9d/signalbot/bot.py#L174-L204in
signal-cli-rest-api
there is a way to pass style to text in the API call https://bbernhard.github.io/signal-cli-rest-api/#/Messages/post_v2_sendis there a way to do the same in
signalbot
and I just can't find it, or this would need to be implemented?thanks again for the amazing tool!