Class PersistentMenu

    • Method Detail

      • getLocale

        public String getLocale()
        Locale of the menu. We will show this menu when user locale matches the provided locale. You must at least specify a menu for the default locale. This is the menu we will fall back to if we don't find another matching the user's locale. See the list of supported locales.
      • setComposerInputDisabled

        public void setComposerInputDisabled​(Boolean composerInputDisabled)
        Set to true to disable user input in the menu. This means users will only be able to interact with your bot via the menu, postbacks, buttons, and webviews.
      • getComposerInputDisabled

        public Boolean getComposerInputDisabled()
        Set to true to disable user input in the menu. This means users will only be able to interact with your bot via the menu, postbacks, buttons, and webviews.