Questions tagged [message]

For questions regarding Facebook messages, JavaScript messages, mobile messages (Android, iOS, windows-phone), etc. Not for use for error messages. Include additional tags to indicate messaging platform, programming language, etc.

Questions about sending and receiving messages of any kind. As this tag is vague, use a more specific tag instead if possible. For example, most questions about Facebook messages should have the tag for the programming language, , and possibly a tag for the API or framework you're using. If your question is about a , an , a window, a , an , … then use the appropriate tag instead. Do not use this tag (or any tag) to indicate that you tried something and got an error message.

4541 questions
1
vote
1 answer

Flutter: Sending long sms with SMS_Maintained Package

In my project, I'm using sms_maitained version 0.2.5 and I'm trying to send message of about 230 characters. But I'm getting RESULT_ERROR_GENERIC_FAILURE. I've already gone through a lot of resources like this and this. I'm pretty sure: there…
Alena
  • 1,134
  • 6
  • 19
  • 45
1
vote
1 answer

JSF throw FacesMessage from regular bean method

In JSF's custom convertors and validators you can say: FacesMessage message = new FacesMessage( FacesMessage.SEVERITY_ERROR, "Invalid length!", "Length = 8"); throw new ConverterException(message); and ti sends the message to some h:message…
Evgeni Dimitrov
  • 21,976
  • 33
  • 120
  • 145
1
vote
2 answers

How to get all messages sent to a Smooch appid without using webhooks?

Using the Smooch API, I am trying to obtain all of the messages sent to my Facebook appid in the past few minutes or hours. The Get Messages REST method does exactly what I need, except for that it only returns messages from a particular appUserId.…
mikek401
  • 11
  • 2
1
vote
1 answer

How to best alternate chat bubbles positioning with CSS?

The section of code that I am using is shown below and it shows all the bubbles on the left side, i.e. either the one sent by the user "friend" or by the user "self". As you can see, I've tried it with float, but when using relative/absolute…
GBeck
  • 392
  • 7
  • 20
1
vote
1 answer

Open WhatsApp chat window to a specific number without passing a message using kotlin

I need to open the WhatsApp chat window to a specific number without passing a message in the intent I tried to remove the sendIntent.putExtra(Intent.EXTRA_TEXT, userText) but didn't help, when I send from the app it says "Can't send empty…
1
vote
1 answer

Can someone provide definition of keys in Google Stackdriver JSON alert message (sent via webhook to alerta)?

We need a reliable way to get the gcp project id of a monitored resource (not stackdriver project id) out of a stackdriver alert message (sent to alerta webhook). One possible key i found might be: "rawData": { "incident": { …
1
vote
3 answers

PHP function for mysqli connection gives error

Newer to creating php functions and mysql. I have function to connect to a database db_conect_nm(). This is in file db_fns.php, and contains the user and password to connect to my db. I created this to have a more secure db connection. I had it…
KSB
  • 11
  • 1
  • 2
1
vote
0 answers

I want to retrieve location messages from whatsapp

I am trying to programmatically parse the location messages from whatsapp. I cant even find out where they are! I have location where the data theoretically should be stored ie in the Media directory, I find the images and the text messages just…
Dave
  • 31
  • 3
1
vote
0 answers

It´s possible to configure RabbitMQ to notify consumer after receiving n messages?

I have a doubt, I need to know if it´s possible to configure RabbitMQ to notify consumer after receiving n messages. Example: The RabbitMQ must only notify the consumer after it receive 100 message. If not, what would be the best approach. Best…
jolynice
  • 514
  • 1
  • 8
  • 25
1
vote
1 answer

Can bot send messages over 300kb to user?

I am creating a message to send to user from bot. The type is data and size is at about 1mb. When I am using bot emulator the message works, but when I publish my bot the message doesn't work. The Badrequest error is returned. My question is: Is it…
1
vote
1 answer

How to limit the amount of messages I can send using Twilio

I'm setting up a chatbot for Whatsapp using Twilio. My question is how can I set a limit on number of messages I can send in a day? It's for my protection, so that if some bug would send over a million messages then Twilio would make me bankrupt.
Plut Mynut
  • 11
  • 2
1
vote
1 answer

Initiator never activated when acknowledged of EndDialog

I wish to comply with Remus Rusanu's dialog recycling technique in my SSB implementation. I wrote some activation procedure for initiator queue, in order to hook EndDialog message back from target and clean the Dialog table from the closed…
1
vote
4 answers

PHP Redirection with Message

I have a controller which displays and processes postback for a form. The controller redirects to another page once the form has been successfully validated and the data has been processed accordingly. Redirection is completed with something to the…
Lea Hayes
  • 62,536
  • 16
  • 62
  • 111
1
vote
1 answer

Laravel "unique" Custom Message Validation in Form Request Validation

I created the Form Request Validation and I have problem to customize the custom validation message for multiple "unique" validator I created the function like the documentation says, however it not showing my message instead the default one (email:…
1
vote
0 answers

Custom handler class method handleMessage() not trigerred

I have a utility class where I attempt to send a message. I also created a custom Handler class to handle the messages response. The problem is that handleMessage(Message msg) is not getting called at all. Is it that I'm understanding something…
sfas
  • 185
  • 1
  • 3
  • 17