0

I'm writing a bot with gupshup and my code have two sections, the [main] section and [send] section When I try goto inside the main section it's working very well but in the send section it is not working

Paul Raoul
  • 11
  • 2

1 Answers1

0

:goto only works within the scope of a section/module and used to call labels present in the same section. Hence, you are unable to use :goto to call a label present in another section/module.

You can use :call {script_file_name}.{section/module name} command to call a particular section and invoke the very 1st statement. Eg: Refer to gupshup.io doc