github.com/twilio/twilio-go@v1.20.1/rest/proxy/v1/docs/ServicesSessionsParticipantsMessageInteractionsApi.md (about) 1 # ServicesSessionsParticipantsMessageInteractionsApi 2 3 All URIs are relative to *https://proxy.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateMessageInteraction**](ServicesSessionsParticipantsMessageInteractionsApi.md#CreateMessageInteraction) | **Post** /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Participants/{ParticipantSid}/MessageInteractions | 8 [**FetchMessageInteraction**](ServicesSessionsParticipantsMessageInteractionsApi.md#FetchMessageInteraction) | **Get** /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Participants/{ParticipantSid}/MessageInteractions/{Sid} | 9 [**ListMessageInteraction**](ServicesSessionsParticipantsMessageInteractionsApi.md#ListMessageInteraction) | **Get** /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Participants/{ParticipantSid}/MessageInteractions | 10 11 12 13 ## CreateMessageInteraction 14 15 > ProxyV1MessageInteraction CreateMessageInteraction(ctx, ServiceSidSessionSidParticipantSidoptional) 16 17 18 19 Create a new message Interaction to send directly from your system to one [Participant](https://www.twilio.com/docs/proxy/api/participant). The `inbound` properties for the Interaction will always be empty. 20 21 ### Path Parameters 22 23 24 Name | Type | Description 25 ------------- | ------------- | ------------- 26 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 27 **ServiceSid** | **string** | The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) resource. 28 **SessionSid** | **string** | The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) resource. 29 **ParticipantSid** | **string** | The SID of the [Participant](https://www.twilio.com/docs/proxy/api/participant) resource. 30 31 ### Other Parameters 32 33 Other parameters are passed through a pointer to a CreateMessageInteractionParams struct 34 35 36 Name | Type | Description 37 ------------- | ------------- | ------------- 38 **Body** | **string** | The message to send to the participant 39 **MediaUrl** | **[]string** | Reserved. Not currently supported. 40 41 ### Return type 42 43 [**ProxyV1MessageInteraction**](ProxyV1MessageInteraction.md) 44 45 ### Authorization 46 47 [accountSid_authToken](../README.md#accountSid_authToken) 48 49 ### HTTP request headers 50 51 - **Content-Type**: application/x-www-form-urlencoded 52 - **Accept**: application/json 53 54 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 55 [[Back to Model list]](../README.md#documentation-for-models) 56 [[Back to README]](../README.md) 57 58 59 ## FetchMessageInteraction 60 61 > ProxyV1MessageInteraction FetchMessageInteraction(ctx, ServiceSidSessionSidParticipantSidSid) 62 63 64 65 66 67 ### Path Parameters 68 69 70 Name | Type | Description 71 ------------- | ------------- | ------------- 72 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 73 **ServiceSid** | **string** | The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) of the resource to fetch. 74 **SessionSid** | **string** | The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) of the resource to fetch. 75 **ParticipantSid** | **string** | The SID of the [Participant](https://www.twilio.com/docs/proxy/api/participant) resource. 76 **Sid** | **string** | The Twilio-provided string that uniquely identifies the MessageInteraction resource to fetch. 77 78 ### Other Parameters 79 80 Other parameters are passed through a pointer to a FetchMessageInteractionParams struct 81 82 83 Name | Type | Description 84 ------------- | ------------- | ------------- 85 86 ### Return type 87 88 [**ProxyV1MessageInteraction**](ProxyV1MessageInteraction.md) 89 90 ### Authorization 91 92 [accountSid_authToken](../README.md#accountSid_authToken) 93 94 ### HTTP request headers 95 96 - **Content-Type**: Not defined 97 - **Accept**: application/json 98 99 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 100 [[Back to Model list]](../README.md#documentation-for-models) 101 [[Back to README]](../README.md) 102 103 104 ## ListMessageInteraction 105 106 > []ProxyV1MessageInteraction ListMessageInteraction(ctx, ServiceSidSessionSidParticipantSidoptional) 107 108 109 110 111 112 ### Path Parameters 113 114 115 Name | Type | Description 116 ------------- | ------------- | ------------- 117 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 118 **ServiceSid** | **string** | The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) to read the resources from. 119 **SessionSid** | **string** | The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) to read the resources from. 120 **ParticipantSid** | **string** | The SID of the [Participant](https://www.twilio.com/docs/proxy/api/participant) to read the resources from. 121 122 ### Other Parameters 123 124 Other parameters are passed through a pointer to a ListMessageInteractionParams struct 125 126 127 Name | Type | Description 128 ------------- | ------------- | ------------- 129 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 130 **Limit** | **int** | Max number of records to return. 131 132 ### Return type 133 134 [**[]ProxyV1MessageInteraction**](ProxyV1MessageInteraction.md) 135 136 ### Authorization 137 138 [accountSid_authToken](../README.md#accountSid_authToken) 139 140 ### HTTP request headers 141 142 - **Content-Type**: Not defined 143 - **Accept**: application/json 144 145 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 146 [[Back to Model list]](../README.md#documentation-for-models) 147 [[Back to README]](../README.md) 148