Google HostedMatch data format - exchange-server

We are using Google's Hosted Match data service to store information. The information is written by a 3-rd party vendor and then sent to us. I am trying to find out the format Google send the data in the protobuf message. Their spec says the data written to the table should be Base64 encoded, our 3rd party vendor says they are doing that but the data in the message seems to be Base64 decoded by Google.
Is this correct, do Google Base64 the data before sending it to us, or is our vendor doing something incorrect?
(I've asked Google but they take a long time to reply to emails)

Yes, the data is base64 decoded before being put in the bid request message.

Related

Firebase data according data safety section

Recently Google play announced data section form to fill up collected or shared data. Firebase also added a blog regarding it. Now I am bit confused.
Case1 Suppose firebase authentication stores ip address or name which I don't store in my database What should I do. Do I need to add I am taking name or something like that.
Case2 I am using firestore and storage and all writes are off. Then also I need to add something like firebase agent and what is firebase user agent and in which data category it will be added
Case3 After adding data type like suppose email
Google play ask two options
Collected This data is transmitted off the users device, either to you or a third party this includes data that is processed empherally, or stored for longer
Shared This data is transmitted to a third party,
either on off the users device.
Which one I should select if I am using firebase. Unable to understand hard language.
Sry for bad English.

Upload pdf files from bot with Bot Framework Composer

I want to select a pdf file from the bot and send it through a Web Api but I have not obtained any documentation, if you could support me with this it would be very helpful.
Thank you.
You can send a PDF, but you cannot send a local fie. It has to be uploaded somewhere or encoded. So, sending with activity and contentUrl of either data:image/png;base64,${imageBase64} or https://www.example.com/path/to/file.pdf
Please see more info explained in this comment. Also be aware that different channels behave differently with attachments (See end of conversation in that same thread).
Edit: Actually, the change to be able to send a binary is currently in the works. Please watch here.

how to get raw message with microsoft graph?

I want to know how to get raw message from microsoft graph, as
GET https://graph.microsoft.com/v1.0/me/messages/{id} return json object, and I need rfc822 of mails.
Yes, please refer to Get MIME content of a message for a description and examples of the two ways one can get a message in raw (MIME) format.
In general, keeping an eye on the Microsoft Graph blog site, the what's new topic, or the changelog topic (if it's API or permissions updates) would help you discover additions and updates you were looking for. In particular, the ability to get the MIME format of a message or message type attachment was introduced in April 2019 in the beta version, and promoted to v1.0 in September a few months later.
This appears to now be available. I haven't tested it for myself yet though...
Today, we’re excited to announce general availability of the
following Microsoft Graph APIs:
Retrieve contents of an email message in MIME format Download file and
item attachments in their raw format Translate identifiers of
Outlook-related resources between formats You can now use these APIs
in Graph v1.0 to implement production apps that require access to the
raw contents of an email message or an attachment. You can download
file attachments in binary format or item attachments in MIME format.
Also, you can translate the format of identifiers of multiple
resources by specifying the source and target ID types.
These APIs had been among our top user asks and we’re happy to roll
these out on v1.0 endpoint worldwide. You can access these APIs on the
v1.0 endpoint by using syntax like the following:
GET https://graph.microsoft.com/v1.0/me/messages/{message-id}/$value
source
original uservoice request
using the sdk

How to receive sms on asp.net using nexmo service

I need some guidance on what steps I should follow to receive sms messages using service from www.nexmo.com.
I am not familiar with asp.net but I am very familiar with C# on windows, so please if you can provide a few steps to get me going then I can pick it up from there. Right now I have an account at www.godaddy.com, so I am hoping I can write the code to place it there. I don't really need much details on how to use nexmo service, I mainly need to know what I should do on my web site to receive sms from nexmo.
Incoming SMS's are simply HTTP requests to your 'page'. Nexmo send's the SMS and related data just like a HTML from submits data to a URL using a GET (query string) or POST (form encoded),
So all you have to do is point Nexmo to the URL you want to use, and check the incoming request for the data. Here's the documentation for incoming messages.
Here's a community authored C# library that might be be helpful.
(Disclaimer: I do a bit of developer evangelism for Nexmo.)

what type of message can a websocket send?

I am trying to use a websocket to send audio message, what type of message should I change the audio stream into so that I can use a socket to send?
If I directly use a websocket.send(audio), I would get an error "DOMException", should I change it into binary data? and how?
I am totally new to program, so please help!!!
The Websocket API and supports sending Blob and ArrayBuffer binary types.
If your browser supports Mozilla's audio data API then you can read out the data from an audio tag as an ArrayBuffer and send that. However, this API is unlikely to be standardized.
If your browser supports the Web Audio API (proposed by Google) then you can also extract an ArrayBuffer of the data and send that. The Web Audio API will likely see greater adoption. Here is an intro to Web Audio API. This FAQ has an answer that describes how to use the Web Audio API to read from normal audio/video tags.
Updated:
The Aurora.js library mentioned in this blog post looks like it might be helpful in dealing with audio and binary data.

Resources