Method ResolveTokenExpression(string)

Assembly: redb.Route.Telegram.dll

Resolves ${env:NAME} expressions inside a token value at endpoint
start (when no is available). Any
literal without ${ is returned unchanged.
Throws if a referenced variable
is not set — keeps misconfiguration loud instead of silently sending an
unresolved literal to Telegram (HTTP 401).

public static string ResolveTokenExpression(string raw)