I would like to know if it is possible based on this code, to insert two (or three) Unicode symbols in a text to send to Telegram, a single symbol if it works fine.
example code
# Function $tgFunc by @diamuxin :global tgFunc do={ :local BotToken "XXXXXXXXX:XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXX" :local ChatID "XXXXXXXXX" :local parseMode "HTML" :local SendText $1 :local DisableWebPagePreview True /tool fetch url="https://api.telegram.org/bot$BotToken/s ... \?chat_id=\ $ChatID&parse_mode=$parseMode&text=$SendText&disable_web_page_preview=\ $DisableWebPagePreview" keep-result=no :log info "=> Send Telegram message" } # Function $SymbolByUnicodeName by @eworm :global SymbolByUnicodeName do={ :local Symbols { "abacus"="\F0\9F\A7\AE"; "alarm-clock"="\E2\8F\B0"; "calendar"="\F0\9F\93\85"; "card-file-box"="\F0\9F\97\83"; "chart-decreasing"="\F0\9F\93\89"; "chart-increasing"="\F0\9F\93\88"; "cloud"="\E2\98\81"; "cross-mark"="\E2\9D\8C"; "earth"="\F0\9F\8C\8D"; "fire"="\F0\9F\94\A5"; "floppy-disk"="\F0\9F\92\BE"; "high-voltage-sign"="\E2\9A\A1"; "incoming-envelope"="\F0\9F\93\A8"; "information"="\E2\84\B9"; "large-orange-circle"="\F0\9F\9F\A0"; "large-red-circle"="\F0\9F\94\B4"; "link"="\F0\9F\94\97"; "lock-with-ink-pen"="\F0\9F\94\8F"; "memo"="\F0\9F\93\9D"; "mobile-phone"="\F0\9F\93\B1"; "pushpin"="\F0\9F\93\8C"; "scissors"="\E2\9C\82"; "sparkles"="\E2\9C\A8"; "speech-balloon"="\F0\9F\92\AC"; "up-arrow"="\E2\AC\86"; "warning-sign"="\E2\9A\A0"; "white-heavy-check-mark"="\E2\9C\85" } :return (($Symbols->$1) . "\EF\B8\8F"); } # Telegram Test { :global tgFunc :global SymbolByUnicodeName $tgFunc ("$[$SymbolByUnicodeName "calendar"] Telegram Test") ; # send OK $tgFunc ("$[$SymbolByUnicodeName "calendar,memo"] Telegram Test") ; # Not OK }