You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing attachments to the extension.Sms().Post method call returns a FaxResponse. When calling Post without passing attachments the return value is GetMessageInfoResponse. Is this by design or a bug?
var attachment1 = new Attachment { fileName = "attachment.jpg", contentType = "image/jpg", bytes = Convert.FromBase64String(base64Image) };
var attachments = new Attachment[] { attachment1 };
var response = await extension.Sms().Post(new
{
to = new CallerInfo[] { new CallerInfo { phoneNumber = telephoneNumber } },
from = new CallerInfo { phoneNumber = RingCentralConfig.Instance.username },
text = messageText
}, attachments);
The text was updated successfully, but these errors were encountered:
Passing attachments to the extension.Sms().Post method call returns a FaxResponse. When calling Post without passing attachments the return value is GetMessageInfoResponse. Is this by design or a bug?
The text was updated successfully, but these errors were encountered: