nivez/Interactive Inputs Action

Github actions interacrive inputs using Telegram bot

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
telegram-api-tokenTelegram API tokenyes
telegram-chat-idThe Telegram chat id that will be used for the interactive inputs and messagesyes
questionThe question / statement that will be used in Telegram followed with buttons (each button represents one of the options)
optionsThe possible options (buttons) that will appear as the interactive inputs in Telegram - represented as a JSON array of strings[]
default-choiceDefault choice that will be used if the user did not choose any of the options in Telegram
messageMessage that will be sent thorugh Telegram after the user interaction has finished. It is possible to use %s as a variable that will be replaced with the selected choiceThe selected choice is: %s
timeoutTimeout in seconds for selecting one of the possible options. When the timeout exceeds - stopping to check for updates from Telegram60
timeout-messageMessage that will be sent to Telegram if the timeout exceeds and the user did not select any of the optionsTimeout exceeded without any choice...
is-choosing-requiredIf true - the user must choose one of the options - in case the user did not choose and there is no default choice - the timeout message will be sent and the run will be cancelledtrue
wait-for-timeout-to-finishIf true - the run will wait for the timeout to finish even if the user already chose one of the options - that will let the user to change his choice before the timeout exceedsfalse
simple-messageJust a simple message that will be sent through Telegram without any of the functionality of interactive inputs
namedescription
user-choiceThe selected choice recieved from Telegram