The SID of the Account that created the Message resource to fetch.
The Twilio-provided string that uniquely identifies the Message resource to fetch.
async
(params, auths) => {
}
//See the API docs: https://www.twilio.com/docs/sms/api/message-resource?code-sample=code-fetch-message&code-language=curl&code-sdk-version=json#fetch-a-message-resource
const config = {
url: `https://api.twilio.com/2010-04-01/Accounts/${params.account_sid}/Messages/${params.message_sid}.json`,
auth: {
username: auths.twilio.Sid,
password: auths.twilio.Secret,
},
}
return await require("@pipedreamhq/platform").axios(this, config)