[Update] I verify another thing and it appears that my bot, hosted in Azure, just doesn't accept anymore any kind of attachment...
I just update to the 3.81 version of the Bot Framework and one thing isn't working anymore.
I expect from the user to send either a text or an attachment. So I wait for the response with context.Wait(waitForAnswer)
But the method waitForAnswer doesn't trigger if the user sends an attachment... Now if I want to receive one, it seems that the only way is using PromptDialog.Attachment... but this isn't fine for my use case because I don't know if the user will send an attachment or a simple text message.
Note that within the emulator, the function waitForAnswer is correctly triggered by an attachment... But when I try to use Telegram channel or simply the webchat, problem rise
Related
i'm subscribed to an email resource to get new emails notifications, this is what is happening.
When i get a message i got a notification inside that notification and has page.count in this case is one. BUT if receive two emails at the same time i will get two notifications with page.count=2 so my question is;
If i get one email, Shouldn't I receive inside that notification one email and in the other notification the other email so in every notification the page count is always 1?? I'd appreciate your answers:) greetings.
This is expected behavior, I am not sure which code you are using, but you should use #odata.deltaLink OR #odata.nextLink to have controlled behavior of what you want to read.
Let me know if this answers your question.
I am overriding both DidReceiveRemoteNotification and ReceivedRemoteNotification and leaving them empty in an attempt to prevent my remote notifications to push automatically, but it does not seem to help. Because every time I send a postman request for the notification, they still show up.. How can i prevent the notification from pushing until the app has met the necessary requirements (user is signed inn) ?
When your app starts up, register or unregister, as soon as you know the app state
Unregister:
UIApplication.SharedApplication.UnregisterForRemoteNotifications();
Register:
UIApplication.SharedApplication.RegisterForRemoteNotifications();
I recently upgraded the Twilio C# DLL we've been using to handle SMS messages. We are now on Twilio.DLL v5.16.2. I have a webhook set up to call a custom URL on our website. That part is working, because I can log the Request coming in (message SID and body and all that good stuff). At the end, we have code to instantiate a MessagingResponse object to send back a confirmation that the message was received. That's not working anymore. I don't get a SMS message on my phone nor do I see an Outgoing API record on the SMS logs page when I'm logged into my project on Twilio.com (whereas I do see the test message I've sent to our number as an Incoming message).
There is no error or exception either.
Any idea how to debug/solve this?
string responseTxt = "TESTING: Got it. Thanks.";
var smsResponse = new MessagingResponse();
var smsMsg = smsResponse.Message(responseTxt);
response.Write(smsMsg);
Twilio developer evangelist here.
I'm not a C# developer, so forgive me if I'm wrong. Also, I don't know what happened with this change.
Anyway, from what I can see, the message body when using the MessagingResponse's Message method appears to be a named argument now. Changing your code to the following should work for the latest version of the DLL.
var smsMsg = smsResponse.Message(body: responseTxt);
Let me know if that helps.
I'm not sure there's much to update as the exact same scenario still stands. But I can reiterate to see if this provides any additional clues.
We have a Twilio SMS service set up. There is a webhook assigned to our number that maps to an HTTP Handler on an ASP.NET website. The code in the handler logs in our database the fact that an SMS message was received and various bits of info (from the Request.Form variables supplied by Twilio, From number, body of the message, num of media, etc.).
Then, the code "replies" to the original SMS sender using the MessagingResponse object. See original code snippet. Really couldn't be much simpler.
Note, this is and has all been working quite well, using the Twilio c# helper library 5.6.
I upgraded the Twilio library to the latest rev (5.25.1) and its dependencies. Copied the new DLLs to our dev webserver. Now the reply message, using the MessagingResponse object, never occurs. The webhook is still called as I can see the new record in the database logging the message details. Just no response. No error, no exception. Just nothing.
If I rollback to our old version of the Twilio library (and its dependencies, thank goodness for Git!), it works again.
I have done streaming notification on new arrival email but when ever user send any email to anyone, Can it generate any event though streaming, pull, push notification. I am trying to track each and every email body that is being sent out from account.
There is no Send notification that gets fired however when a user sends an email the default behaviour is to save a copy in the SentItems folder so if you subscribe to the CreateItem event on the SentItems folder that should probably cover what your trying to do (you can test that without writing any code using the EWSEditor).
You can configure the Email Client to not save a copy in the SentItems folder and if the user is trying to hide something they may delete it before you can get at it. Transport Agents or Jornaling should be used when you need to do this kind of thing for auditing/compliance reasons because it ensure you always capture the message.
I've set up an HttpListener running on port 8086 on my custom server application, which works with JSON and XML over sockets. I can't change my server application to any other implementation, I am stuck with it for now.
I'm a bit new to Http, so feel free to correct my naviety below! I've searched, but can't find anything that deals with my exact problem.
When I use Hurl.it to send an HttpRequest to the server, the GetContext function fires no problem and I am able to send an html response back to Hurl.it.
Now, the question is, I want to be able to send out Reset Password email links in the form of "http://myip:PORT/resetpasswordseed=74283235" and have a browser be able to receive, parse and display a dynamically generated html form. (I will also need to add SSL to this a bit later, as I don't want a newly updated password being sent as plain text in a URL.)
Now, when I click the URL link http://myserverip:port/resetpassword with Edge or Firefox the GetContext function does not fire and the web browser times out. Have I missed something or am I trying to do something that is not possible? I don't get an error message or an exception or anything.
Any help would be appreciated.
Cheers
Craig.