-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hey team,
I'm using latest version and trying to send an RCS message, looking at the code i found
export class Messsages extends APIResource {
/**
* Send an RCS message
*
* @example
* ```ts
* const response = await client.messsages.rcs({
* agent_id: 'Agent007',
* agent_message: {},
* messaging_profile_id: 'messaging_profile_id',
* to: '+13125551234',
* });
* ```
*/
rcs(body: MesssageRcsParams, options?: RequestOptions): APIPromise<MesssageRcsResponse> {
return this._client.post('/messsages/rcs', { body, ...options });
}
}
but seems that this code is not reachable when doing await client.messsages.rcs with this error
rcs
This expression is not callable.
Type 'Rcs' has no call signatures.
any clue? seems like something is off
Also, there's no types available from Webhooks callbacks then the type is RCS (just SMS and MMS available)
thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels