github.com/twilio/twilio-go@v1.20.1/rest/ip_messaging/v2/docs/ServicesChannelsMembersApi.md (about) 1 # ServicesChannelsMembersApi 2 3 All URIs are relative to *https://ip-messaging.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateMember**](ServicesChannelsMembersApi.md#CreateMember) | **Post** /v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members | 8 [**DeleteMember**](ServicesChannelsMembersApi.md#DeleteMember) | **Delete** /v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid} | 9 [**FetchMember**](ServicesChannelsMembersApi.md#FetchMember) | **Get** /v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid} | 10 [**ListMember**](ServicesChannelsMembersApi.md#ListMember) | **Get** /v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members | 11 [**UpdateMember**](ServicesChannelsMembersApi.md#UpdateMember) | **Post** /v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid} | 12 13 14 15 ## CreateMember 16 17 > IpMessagingV2Member CreateMember(ctx, ServiceSidChannelSidoptional) 18 19 20 21 22 23 ### Path Parameters 24 25 26 Name | Type | Description 27 ------------- | ------------- | ------------- 28 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 29 **ServiceSid** | **string** | 30 **ChannelSid** | **string** | 31 32 ### Other Parameters 33 34 Other parameters are passed through a pointer to a CreateMemberParams struct 35 36 37 Name | Type | Description 38 ------------- | ------------- | ------------- 39 **XTwilioWebhookEnabled** | **string** | The X-Twilio-Webhook-Enabled HTTP request header 40 **Identity** | **string** | 41 **RoleSid** | **string** | 42 **LastConsumedMessageIndex** | **int** | 43 **LastConsumptionTimestamp** | **time.Time** | 44 **DateCreated** | **time.Time** | 45 **DateUpdated** | **time.Time** | 46 **Attributes** | **string** | 47 48 ### Return type 49 50 [**IpMessagingV2Member**](IpMessagingV2Member.md) 51 52 ### Authorization 53 54 [accountSid_authToken](../README.md#accountSid_authToken) 55 56 ### HTTP request headers 57 58 - **Content-Type**: application/x-www-form-urlencoded 59 - **Accept**: application/json 60 61 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 62 [[Back to Model list]](../README.md#documentation-for-models) 63 [[Back to README]](../README.md) 64 65 66 ## DeleteMember 67 68 > DeleteMember(ctx, ServiceSidChannelSidSidoptional) 69 70 71 72 73 74 ### Path Parameters 75 76 77 Name | Type | Description 78 ------------- | ------------- | ------------- 79 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 80 **ServiceSid** | **string** | 81 **ChannelSid** | **string** | 82 **Sid** | **string** | 83 84 ### Other Parameters 85 86 Other parameters are passed through a pointer to a DeleteMemberParams struct 87 88 89 Name | Type | Description 90 ------------- | ------------- | ------------- 91 **XTwilioWebhookEnabled** | **string** | The X-Twilio-Webhook-Enabled HTTP request header 92 93 ### Return type 94 95 (empty response body) 96 97 ### Authorization 98 99 [accountSid_authToken](../README.md#accountSid_authToken) 100 101 ### HTTP request headers 102 103 - **Content-Type**: Not defined 104 - **Accept**: Not defined 105 106 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 107 [[Back to Model list]](../README.md#documentation-for-models) 108 [[Back to README]](../README.md) 109 110 111 ## FetchMember 112 113 > IpMessagingV2Member FetchMember(ctx, ServiceSidChannelSidSid) 114 115 116 117 118 119 ### Path Parameters 120 121 122 Name | Type | Description 123 ------------- | ------------- | ------------- 124 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 125 **ServiceSid** | **string** | 126 **ChannelSid** | **string** | 127 **Sid** | **string** | 128 129 ### Other Parameters 130 131 Other parameters are passed through a pointer to a FetchMemberParams struct 132 133 134 Name | Type | Description 135 ------------- | ------------- | ------------- 136 137 ### Return type 138 139 [**IpMessagingV2Member**](IpMessagingV2Member.md) 140 141 ### Authorization 142 143 [accountSid_authToken](../README.md#accountSid_authToken) 144 145 ### HTTP request headers 146 147 - **Content-Type**: Not defined 148 - **Accept**: application/json 149 150 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 151 [[Back to Model list]](../README.md#documentation-for-models) 152 [[Back to README]](../README.md) 153 154 155 ## ListMember 156 157 > []IpMessagingV2Member ListMember(ctx, ServiceSidChannelSidoptional) 158 159 160 161 162 163 ### Path Parameters 164 165 166 Name | Type | Description 167 ------------- | ------------- | ------------- 168 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 169 **ServiceSid** | **string** | 170 **ChannelSid** | **string** | 171 172 ### Other Parameters 173 174 Other parameters are passed through a pointer to a ListMemberParams struct 175 176 177 Name | Type | Description 178 ------------- | ------------- | ------------- 179 **Identity** | **[]string** | 180 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 181 **Limit** | **int** | Max number of records to return. 182 183 ### Return type 184 185 [**[]IpMessagingV2Member**](IpMessagingV2Member.md) 186 187 ### Authorization 188 189 [accountSid_authToken](../README.md#accountSid_authToken) 190 191 ### HTTP request headers 192 193 - **Content-Type**: Not defined 194 - **Accept**: application/json 195 196 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 197 [[Back to Model list]](../README.md#documentation-for-models) 198 [[Back to README]](../README.md) 199 200 201 ## UpdateMember 202 203 > IpMessagingV2Member UpdateMember(ctx, ServiceSidChannelSidSidoptional) 204 205 206 207 208 209 ### Path Parameters 210 211 212 Name | Type | Description 213 ------------- | ------------- | ------------- 214 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 215 **ServiceSid** | **string** | 216 **ChannelSid** | **string** | 217 **Sid** | **string** | 218 219 ### Other Parameters 220 221 Other parameters are passed through a pointer to a UpdateMemberParams struct 222 223 224 Name | Type | Description 225 ------------- | ------------- | ------------- 226 **XTwilioWebhookEnabled** | **string** | The X-Twilio-Webhook-Enabled HTTP request header 227 **RoleSid** | **string** | 228 **LastConsumedMessageIndex** | **int** | 229 **LastConsumptionTimestamp** | **time.Time** | 230 **DateCreated** | **time.Time** | 231 **DateUpdated** | **time.Time** | 232 **Attributes** | **string** | 233 234 ### Return type 235 236 [**IpMessagingV2Member**](IpMessagingV2Member.md) 237 238 ### Authorization 239 240 [accountSid_authToken](../README.md#accountSid_authToken) 241 242 ### HTTP request headers 243 244 - **Content-Type**: application/x-www-form-urlencoded 245 - **Accept**: application/json 246 247 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 248 [[Back to Model list]](../README.md#documentation-for-models) 249 [[Back to README]](../README.md) 250