Autofill message telegram - bots

Is there a way to autofill the message input box is telegram bot chat by passing the parameters in the bot's url.
I don't want to send the message but just fill the user input with some values.
For eg: https://t.me/some-bot?message=Authorize

You can use https://t.me/Bot?start=message format, it will send /start message, but show /start. For instance, try this link.
Reference: deep linking documentation

Related

Using clickable links in DialogFlow

Is possible to use hyperlinks in the middle of some text with DialogFLow?
Currently the best I can get is to use DialogFlow Messenger with an extra response of type Custom Payload and add there a richContent response of type "info" with the link.
But I want to add the link as a normal "< a href >" element, is that possible somehow?
Did you already try to send raw URL in your message?
It will automatically turn the URL into a link in almost all chat application.
I already try in Telegram, Facebook Messenger, Line Messenger, etc.

I need a method to send a direct message to some user using excel

I need to find a method to use excel to send a direct message to slack user like we use MAilto in with subject and body function to send the user email,
for example (WhatsaApp)
api.whatsapp.com/send?phone=XXYYYYYYYYYY&text=This is my message
Well if i understand correctly, you want to get info from excel and send this info to a user, well that's possible in one way, you have to be able to read excel, which i don't recommend.
i recommend Google spreadsheet for that. anyway lets not get off-topic.
then you need to know how to send message to slack, Do you know ?
i will assume not, so to send messages there is two ways,
Webhooks
Web API
method URL = https://slack.com/api/chat.postMessage
to Send Through Web API, you have to pass the following arguments:
token The Oauth2 Token you will get from slack when configuring your bot or app, Or you can use Legacy tokens instead
channel The place you want to send the message, Channel ID if it is a channel, or User ID if it is a User.
text As the name say, the message you want to send
as_user Whether you want to send the message as your name or as a Custom name, This a boolean method, Means its Only True or False
Note: To configure a custom name its in another argument we will reach.
attachments A JSON-based array of structured attachments, presented as a URL-encoded string.
username The name you want to appear as the sender of the message, only works if as_user is false, if as_user is true, it will ignore this argument.
Hope this help.
and please next time share a code so we can help, here there is not just 'I need...'
its a place where you share code and then ask 'I need...' so we can help
I have solved the issue already
Creating an APP and using the chat.postmessage

Send private message to a slackbot without other users of the workspace seeing it

How can i send a private message to a bot other without users seeing it on the channel?
Im using node js and the module slackbots. And each time i communicate with the bot it goes something like this: "#robot hello" but everybody on the chat sees it.
Your example is not a direct message, but a so called "mention" in a channel, which is always visible by everyone else in the same channel.
But you can also send a real direct message to a bot user. It works the same like sending a direct message to any user. e.g. click on the plus next to "Direct Messages", select the bot user from the list and click on go. Now you got a direct messaging channel with that user which is 100% private.
Your bot obviously needs to be ready to receive messages via DM in order to respond correctly. e.g if your are using Slack's Events API you need to subscribe to message.im to receive posts in the direct message channel to your bot.
Check out this help desk page on how to send direct messages.
Another approach to communicate "secretly" with your bot user in a channel is slash commands, e.g. by posting /mybot hi in a channel. Both the slash command and respond from your app will not be visible to anyone else in the channel (that is default - but can be changed).

Disable text input when facebook messenger sends buttons/quick_replies along with message

I am using facebook messenger bot buliding with Nodejs. Can I disable text input using an API when the bot sends a message within a button? Is there any strategy possible when the bot only the message, input remains enabled and disabled when sends buttons/quick_replies?
Let me some add picture below to make my query most clear and
I need text input disabled where placeholder "type a message is written"
Unfortunately, this is not possible with Facebook Messenger. As suggested by Milton, you should validate incoming text and decide if the user meant certain input. You should be aware of typos and case however.
In my experience, when we don't get the user input we repeat the question with explanation and give quick replies again.

Searching for a way to programmatically receive messages with the ChatConnector

I am currently working with the Microsoft Bot Framework in NodeJS.
I am using a ChatConnector for receiving the input messages and here is my question:
Is there a way to let the connector receive a message programmatically?
The reason why I want this is a forwarding the last message in chat.
I need a line which fakes a user input in the chat.
Thanks for any suggestions.
For example the bot finished a dialog in "mainListen". As a result the user types for example "thanks and now do this". The input is in the message.text as a result available in the first "initStuff". Now i want to be able to use the message input as a input for the mainListen. At this point the user needs to tpye in the commands twice. The "mainListen" is for language understanding to lead into some other dialogs.

Resources