I have a scenario where I want my help and the main menu button is always present which comes with a welcome message and even if I am in between some other activity within the bot I can come and click on that button any time in the bot. Please suggest anyway how to achieve this scenario. This means they should always be present there.
Keeping some button always present in the BOT
239 Views Asked by Bipin Bhandari At
1
There are 1 best solutions below
Related Questions in BOTS
- Bot.load_Extension is returning this error for disnake and discord.py library both
- Download files (spec. images) with telegram bot (python-telegram-bot)
- "If" condition with numbers doesnt working
- Deploying telegram bot
- Function call Reverts from Smart Contract without a reason unniswap V3
- Pyrogram: telegram API returns 400: INPUT_FILTER_INVALID after search_messages() request
- Java music bot not playing music
- JDA Lavaplayer bot doesn't work without changing .jar file
- How can a bot find out that a reaction emoji was left in a Telegram channel post? telebot python
- Telegram Bot "START" Button issue on history clean up on iOS devices
- how do i communicate 2 bots in webot using emitter and reciever i need creative idea to implement a specified motion
- Discord bot can't send messages from the server but sends messages from dm
- how to edit a message by id using telegraf.js
- issue with Twitter API :
- i need help making a reaction time test bot to impress my friends XD. for the website https://skoonova.com/tests/reactiontime
Related Questions in BOTFRAMEWORK
- In TeamsFx, how to construct ConversationReference without having a saved reference?
- Add interruption button in Azure bot framework
- Single Tenant Teams Bot Authentication Error: Missing access_token
- How can I enable AAD SSO for bot so we can get user information via Teams toolkit
- Adaptive-card sortby on datetime property
- botbuilder send activity context on stream
- Unable to send message to my bot using direct line
- Cannot access to Azure Graph via BOT MS Teams
- Message alignment to the left for user and bot message bubble
- How to resolve Teams bot ID change after upgrade to TeamsFX v5
- Designing a truly multi-tenant ms teams app
- Microsoft Azure Bot Framework - Can bots with User Managed Identities be tested with "Test in Web Chat"?
- How to handle user's route on using python-telegram-bot?
- AdaptiveCard not rendering bullet list if the text is from variable
- how do you make an adaptive card input choice selection send the selected choice to the teams bot?
Related Questions in CHATBOT
- Text_input is not being cleared out/reset using streamlit
- Node.js Chatbot Error: GoogleGenerativeAIError - Content should have 'parts' property with an array of Parts
- chatbot respond to onequery type
- The chatbot code works well on the console but not when deployed on the website
- Customize prompt llamaindex
- Gradio chatbot: how to export individual conversation histories?
- Integrating Custom Trained ChatGPT Models for Individual Customer Accounts in a SaaS Offering
- How to Implement Chatbot at Scale
- Problems with using the most recent version if Tensorflow
- Chat with custom data
- How to make a chatbot using python which can understand my question and then answer it
- How to unload AutoGPTQForCausalLM.from_quantized model to free up GPU memory
- What are the best practices and tools to do NLU testing?
- Google Chat app not found. To create a Chat app, you must turn on the Chat API and configure the app in the Google Cloud console. Error in python
- Want to show what is show when verbose=True in streamlit app
Related Questions in AZURE-BOT-SERVICE
- multiple azure chatbots doesn't authenticate
- How to fix Unable to execute action botFramework/create. Error message: API call to Developer Portal failed
- I have problems with using Azure Bot in Personal Chat in Microsoft Teams
- Bot does not work with one-to-one chat messages in Microsoft Teams
- Azure Bot using Language Service what's the preferred method
- Adding a Bot to Azure Communication Service Chat Thread using the Microsoft App Id failed
- Issue with deploying Rasa bot on Teams via Azure Bot
- Botframework webchat Directline | How to get rid op 502 error while streaming openai answers
- How to add authentication to an exposed endpoint in Azure Bot Service?
- Error deploying echo-bot.py on Azure. ModuleNotFoundError: No module named 'aiohttp'
- How to replace expired secret key without restarting BOT
- MS Teams Bot message-extension- Agent returned unsuccessful status code InternalServerError
- How to view error logs for Azure Bot Service that uses a Messaging endpoint
- Teams Bot OAuthPrompt Not returning Tokenresponse for a couple of company members
- Bot Framework - Sign out a user completely in Teams
Related Questions in WEBBOT
- find element_by(by="tagName", value="body")
- Python webbot library, example returns "session not created exception: Missing or invalid capabilities"
- opening FireFox via webbot python library
- Python with Webbot, not sure how to click the button of the chrome PDF viewer
- Click "OK" on Error Loading Extension pop up using python webbot
- In fix at Microsoft - Name with multiple word does not display fully in chat message
- How do I edit an online xlsx file in python?
- Python webbot showstopper, can not use webbot because of Chrome driver
- Error about Selenium version using Python's webbot
- WebDriverException: unknown error: cannot find Chrome binary error when trying to run webbot using Selenium and ChromeDriver
- Keeping some button always present in the BOT
- Buttons is not working properly BOT Framework when text is long
- Problem with detecting if link is invalid
- How can I open Firefox with webbot?
- Is there a way to download a file from a website and upload it directly to Google Drive?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you look over the 04.api/d.post-activity-event sample, it shows you how you can add a button to a hosted page that interacts with the embedded Web Chat client (i.e. the bot).
How you decide to design the button has no bearing on the functionality you attach to it. So, whether it is a plain button or a hamburger menu, when the button is clicked, using the design demonstrated in the sample, the result will be the same.
This sample uses the React flavor of the Web Chat component and shows the React method for implementing this. This is not a React project, so don't let that stop you.
However, if you don't want to use React methods, you can achieve the same by use of an event listener.
First, get the button element. Then attach an event listener that responds to a 'click'. Make sure the event listener is placed in your page where Web Chat's
storeobject is accessible.Here is an example implementing the store. However, all you will need is what is shown below in the code.
At this point, assuming everything is aligned correctly, when the button is clicked a message will be sent via Web Chat to the bot. If you want to explore other Web Chat actions, you can find a list of them here. The samples provided in the Web Chat repo demonstrate how many of the actions can be implemented, if you are unsure.
On the off-chance you are wanting the button to live within the Web Chat transcript window, you can do so following the steps listed in this SO post. Again, for clarity, where the button lives and what it looks like doesn't matter. The functionality will be the same.
Hope of help!