twilio.rest.chat.v2.service package¶
Submodules¶
twilio.rest.chat.v2.service.binding module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.chat.v2.service.binding.
BindingContext
(version, service_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
()[source]¶ Deletes the BindingInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the BindingInstance
Returns: The fetched BindingInstance Return type: twilio.rest.chat.v2.service.binding.BindingInstance
-
-
class
twilio.rest.chat.v2.service.binding.
BindingInstance
(version, payload, service_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
account_sid
¶ Returns: The SID of the Account that created the resource Return type: unicode
-
binding_type
¶ Returns: The push technology to use for the binding Return type: BindingInstance.BindingType
-
credential_sid
¶ Returns: The SID of the Credential for the binding Return type: unicode
-
date_created
¶ Returns: The ISO 8601 date and time in GMT when the resource was created Return type: datetime
-
date_updated
¶ Returns: The ISO 8601 date and time in GMT when the resource was last updated Return type: datetime
-
delete
()[source]¶ Deletes the BindingInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
endpoint
¶ Returns: The unique endpoint identifier for the Binding Return type: unicode
-
fetch
()[source]¶ Fetch the BindingInstance
Returns: The fetched BindingInstance Return type: twilio.rest.chat.v2.service.binding.BindingInstance
-
identity
¶ Returns: The string that identifies the resource’s User Return type: unicode
-
links
¶ Returns: The absolute URLs of the Binding’s User Return type: unicode
-
message_types
¶ Returns: The Programmable Chat message types the binding is subscribed to Return type: list[unicode]
-
service_sid
¶ Returns: The SID of the Service that the Binding resource is associated with Return type: unicode
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
url
¶ Returns: The absolute URL of the Binding resource Return type: unicode
-
-
class
twilio.rest.chat.v2.service.binding.
BindingList
(version, service_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
get
(sid)[source]¶ Constructs a BindingContext
Parameters: sid – The SID of the resource to fetch Returns: twilio.rest.chat.v2.service.binding.BindingContext Return type: twilio.rest.chat.v2.service.binding.BindingContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of BindingInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of BindingInstance Return type: twilio.rest.chat.v2.service.binding.BindingPage
-
list
(binding_type=<object object>, identity=<object object>, limit=None, page_size=None)[source]¶ Lists BindingInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - binding_type (list[BindingInstance.BindingType]) – The push technology used by the Binding resources to read
- identity (list[unicode]) – The identity value of the resources to read
- limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
page
(binding_type=<object object>, identity=<object object>, page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of BindingInstance records from the API. Request is executed immediately
Parameters: - binding_type (list[BindingInstance.BindingType]) – The push technology used by the Binding resources to read
- identity (list[unicode]) – The identity value of the resources to read
- page_token (str) – PageToken provided by the API
- page_number (int) – Page Number, this value is simply for client state
- page_size (int) – Number of records to return, defaults to 50
Returns: Page of BindingInstance
Return type:
-
stream
(binding_type=<object object>, identity=<object object>, limit=None, page_size=None)[source]¶ Streams BindingInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - binding_type (list[BindingInstance.BindingType]) – The push technology used by the Binding resources to read
- identity (list[unicode]) – The identity value of the resources to read
- limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
-
class
twilio.rest.chat.v2.service.binding.
BindingPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of BindingInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.chat.v2.service.binding.BindingInstance Return type: twilio.rest.chat.v2.service.binding.BindingInstance
-
twilio.rest.chat.v2.service.role module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.chat.v2.service.role.
RoleContext
(version, service_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
()[source]¶ Deletes the RoleInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the RoleInstance
Returns: The fetched RoleInstance Return type: twilio.rest.chat.v2.service.role.RoleInstance
-
update
(permission)[source]¶ Update the RoleInstance
Parameters: permission (list[unicode]) – A permission the role should have Returns: The updated RoleInstance Return type: twilio.rest.chat.v2.service.role.RoleInstance
-
-
class
twilio.rest.chat.v2.service.role.
RoleInstance
(version, payload, service_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
account_sid
¶ Returns: The SID of the Account that created the resource Return type: unicode
-
date_created
¶ Returns: The ISO 8601 date and time in GMT when the resource was created Return type: datetime
-
date_updated
¶ Returns: The ISO 8601 date and time in GMT when the resource was last updated Return type: datetime
-
delete
()[source]¶ Deletes the RoleInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the RoleInstance
Returns: The fetched RoleInstance Return type: twilio.rest.chat.v2.service.role.RoleInstance
-
friendly_name
¶ Returns: The string that you assigned to describe the resource Return type: unicode
-
permissions
¶ Returns: An array of the permissions the role has been granted Return type: list[unicode]
-
service_sid
¶ Returns: The SID of the Service that the resource is associated with Return type: unicode
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
type
¶ Returns: The type of role Return type: RoleInstance.RoleType
-
update
(permission)[source]¶ Update the RoleInstance
Parameters: permission (list[unicode]) – A permission the role should have Returns: The updated RoleInstance Return type: twilio.rest.chat.v2.service.role.RoleInstance
-
url
¶ Returns: The absolute URL of the Role resource Return type: unicode
-
-
class
twilio.rest.chat.v2.service.role.
RoleList
(version, service_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(friendly_name, type, permission)[source]¶ Create the RoleInstance
Parameters: - friendly_name (unicode) – A string to describe the new resource
- type (RoleInstance.RoleType) – The type of role
- permission (list[unicode]) – A permission the role should have
Returns: The created RoleInstance
Return type:
-
get
(sid)[source]¶ Constructs a RoleContext
Parameters: sid – The SID of the Role resource to fetch Returns: twilio.rest.chat.v2.service.role.RoleContext Return type: twilio.rest.chat.v2.service.role.RoleContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of RoleInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of RoleInstance Return type: twilio.rest.chat.v2.service.role.RolePage
-
list
(limit=None, page_size=None)[source]¶ Lists RoleInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of RoleInstance records from the API. Request is executed immediately
Parameters: Returns: Page of RoleInstance
Return type:
-
stream
(limit=None, page_size=None)[source]¶ Streams RoleInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
-
class
twilio.rest.chat.v2.service.role.
RolePage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of RoleInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.chat.v2.service.role.RoleInstance Return type: twilio.rest.chat.v2.service.role.RoleInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.chat.v2.service.
ServiceContext
(version, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
bindings
¶ Access the bindings
Returns: twilio.rest.chat.v2.service.binding.BindingList Return type: twilio.rest.chat.v2.service.binding.BindingList
-
channels
¶ Access the channels
Returns: twilio.rest.chat.v2.service.channel.ChannelList Return type: twilio.rest.chat.v2.service.channel.ChannelList
-
delete
()[source]¶ Deletes the ServiceInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the ServiceInstance
Returns: The fetched ServiceInstance Return type: twilio.rest.chat.v2.service.ServiceInstance
-
roles
¶ Access the roles
Returns: twilio.rest.chat.v2.service.role.RoleList Return type: twilio.rest.chat.v2.service.role.RoleList
-
update
(friendly_name=<object object>, default_service_role_sid=<object object>, default_channel_role_sid=<object object>, default_channel_creator_role_sid=<object object>, read_status_enabled=<object object>, reachability_enabled=<object object>, typing_indicator_timeout=<object object>, consumption_report_interval=<object object>, notifications_new_message_enabled=<object object>, notifications_new_message_template=<object object>, notifications_new_message_sound=<object object>, notifications_new_message_badge_count_enabled=<object object>, notifications_added_to_channel_enabled=<object object>, notifications_added_to_channel_template=<object object>, notifications_added_to_channel_sound=<object object>, notifications_removed_from_channel_enabled=<object object>, notifications_removed_from_channel_template=<object object>, notifications_removed_from_channel_sound=<object object>, notifications_invited_to_channel_enabled=<object object>, notifications_invited_to_channel_template=<object object>, notifications_invited_to_channel_sound=<object object>, pre_webhook_url=<object object>, post_webhook_url=<object object>, webhook_method=<object object>, webhook_filters=<object object>, limits_channel_members=<object object>, limits_user_channels=<object object>, media_compatibility_message=<object object>, pre_webhook_retry_count=<object object>, post_webhook_retry_count=<object object>, notifications_log_enabled=<object object>)[source]¶ Update the ServiceInstance
Parameters: - friendly_name (unicode) – A string to describe the resource
- default_service_role_sid (unicode) – The service role assigned to users when they are added to the service
- default_channel_role_sid (unicode) – The channel role assigned to users when they are added to a channel
- default_channel_creator_role_sid (unicode) – The channel role assigned to a channel creator when they join a new channel
- read_status_enabled (bool) – Whether to enable the Message Consumption Horizon feature
- reachability_enabled (bool) – Whether to enable the Reachability Indicator feature for this Service instance
- typing_indicator_timeout (unicode) – How long in seconds to wait before assuming the user is no longer typing
- consumption_report_interval (unicode) – DEPRECATED
- notifications_new_message_enabled (bool) – Whether to send a notification when a new message is added to a channel
- notifications_new_message_template (unicode) – The template to use to create the notification text displayed when a new message is added to a channel
- notifications_new_message_sound (unicode) – The name of the sound to play when a new message is added to a channel
- notifications_new_message_badge_count_enabled (bool) – Whether the new message badge is enabled
- notifications_added_to_channel_enabled (bool) – Whether to send a notification when a member is added to a channel
- notifications_added_to_channel_template (unicode) – The template to use to create the notification text displayed when a member is added to a channel
- notifications_added_to_channel_sound (unicode) – The name of the sound to play when a member is added to a channel
- notifications_removed_from_channel_enabled (bool) – Whether to send a notification to a user when they are removed from a channel
- notifications_removed_from_channel_template (unicode) – The template to use to create the notification text displayed to a user when they are removed
- notifications_removed_from_channel_sound (unicode) – The name of the sound to play to a user when they are removed from a channel
- notifications_invited_to_channel_enabled (bool) – Whether to send a notification when a user is invited to a channel
- notifications_invited_to_channel_template (unicode) – The template to use to create the notification text displayed when a user is invited to a channel
- notifications_invited_to_channel_sound (unicode) – The name of the sound to play when a user is invited to a channel
- pre_webhook_url (unicode) – The webhook URL for pre-event webhooks
- post_webhook_url (unicode) – The URL for post-event webhooks
- webhook_method (unicode) – The HTTP method to use for both PRE and POST webhooks
- webhook_filters (list[unicode]) – The list of webhook events that are enabled for this Service instance
- limits_channel_members (unicode) – The maximum number of Members that can be added to Channels within this Service
- limits_user_channels (unicode) – The maximum number of Channels Users can be a Member of within this Service
- media_compatibility_message (unicode) – The message to send when a media message has no text
- pre_webhook_retry_count (unicode) – Count of times webhook will be retried in case of timeout or 429/503/504 HTTP responses
- post_webhook_retry_count (unicode) – The number of times calls to the post_webhook_url will be retried
- notifications_log_enabled (bool) – Whether to log notifications
Returns: The updated ServiceInstance
Return type:
-
users
¶ Access the users
Returns: twilio.rest.chat.v2.service.user.UserList Return type: twilio.rest.chat.v2.service.user.UserList
-
-
class
twilio.rest.chat.v2.service.
ServiceInstance
(version, payload, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
account_sid
¶ Returns: The SID of the Account that created the resource Return type: unicode
-
bindings
¶ Access the bindings
Returns: twilio.rest.chat.v2.service.binding.BindingList Return type: twilio.rest.chat.v2.service.binding.BindingList
-
channels
¶ Access the channels
Returns: twilio.rest.chat.v2.service.channel.ChannelList Return type: twilio.rest.chat.v2.service.channel.ChannelList
-
consumption_report_interval
¶ Returns: DEPRECATED Return type: unicode
-
date_created
¶ Returns: The RFC 2822 date and time in GMT when the resource was created Return type: datetime
-
date_updated
¶ Returns: The RFC 2822 date and time in GMT when the resource was last updated Return type: datetime
-
default_channel_creator_role_sid
¶ Returns: The channel role assigned to a channel creator when they join a new channel Return type: unicode
-
default_channel_role_sid
¶ Returns: The channel role assigned to users when they are added to a channel Return type: unicode
-
default_service_role_sid
¶ Returns: The service role assigned to users when they are added to the service Return type: unicode
-
delete
()[source]¶ Deletes the ServiceInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the ServiceInstance
Returns: The fetched ServiceInstance Return type: twilio.rest.chat.v2.service.ServiceInstance
-
friendly_name
¶ Returns: The string that you assigned to describe the resource Return type: unicode
-
links
¶ Returns: The absolute URLs of the Service’s Channels, Roles, and Users Return type: unicode
-
post_webhook_retry_count
¶ Returns: The number of times calls to the post_webhook_url will be retried Return type: unicode
-
post_webhook_url
¶ Returns: The URL for post-event webhooks Return type: unicode
-
pre_webhook_retry_count
¶ Returns: Count of times webhook will be retried in case of timeout or 429/503/504 HTTP responses Return type: unicode
-
pre_webhook_url
¶ Returns: The webhook URL for pre-event webhooks Return type: unicode
-
reachability_enabled
¶ Returns: Whether the Reachability Indicator feature is enabled for this Service instance Return type: bool
-
read_status_enabled
¶ Returns: Whether the Message Consumption Horizon feature is enabled Return type: bool
-
roles
¶ Access the roles
Returns: twilio.rest.chat.v2.service.role.RoleList Return type: twilio.rest.chat.v2.service.role.RoleList
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
typing_indicator_timeout
¶ Returns: How long in seconds to wait before assuming the user is no longer typing Return type: unicode
-
update
(friendly_name=<object object>, default_service_role_sid=<object object>, default_channel_role_sid=<object object>, default_channel_creator_role_sid=<object object>, read_status_enabled=<object object>, reachability_enabled=<object object>, typing_indicator_timeout=<object object>, consumption_report_interval=<object object>, notifications_new_message_enabled=<object object>, notifications_new_message_template=<object object>, notifications_new_message_sound=<object object>, notifications_new_message_badge_count_enabled=<object object>, notifications_added_to_channel_enabled=<object object>, notifications_added_to_channel_template=<object object>, notifications_added_to_channel_sound=<object object>, notifications_removed_from_channel_enabled=<object object>, notifications_removed_from_channel_template=<object object>, notifications_removed_from_channel_sound=<object object>, notifications_invited_to_channel_enabled=<object object>, notifications_invited_to_channel_template=<object object>, notifications_invited_to_channel_sound=<object object>, pre_webhook_url=<object object>, post_webhook_url=<object object>, webhook_method=<object object>, webhook_filters=<object object>, limits_channel_members=<object object>, limits_user_channels=<object object>, media_compatibility_message=<object object>, pre_webhook_retry_count=<object object>, post_webhook_retry_count=<object object>, notifications_log_enabled=<object object>)[source]¶ Update the ServiceInstance
Parameters: - friendly_name (unicode) – A string to describe the resource
- default_service_role_sid (unicode) – The service role assigned to users when they are added to the service
- default_channel_role_sid (unicode) – The channel role assigned to users when they are added to a channel
- default_channel_creator_role_sid (unicode) – The channel role assigned to a channel creator when they join a new channel
- read_status_enabled (bool) – Whether to enable the Message Consumption Horizon feature
- reachability_enabled (bool) – Whether to enable the Reachability Indicator feature for this Service instance
- typing_indicator_timeout (unicode) – How long in seconds to wait before assuming the user is no longer typing
- consumption_report_interval (unicode) – DEPRECATED
- notifications_new_message_enabled (bool) – Whether to send a notification when a new message is added to a channel
- notifications_new_message_template (unicode) – The template to use to create the notification text displayed when a new message is added to a channel
- notifications_new_message_sound (unicode) – The name of the sound to play when a new message is added to a channel
- notifications_new_message_badge_count_enabled (bool) – Whether the new message badge is enabled
- notifications_added_to_channel_enabled (bool) – Whether to send a notification when a member is added to a channel
- notifications_added_to_channel_template (unicode) – The template to use to create the notification text displayed when a member is added to a channel
- notifications_added_to_channel_sound (unicode) – The name of the sound to play when a member is added to a channel
- notifications_removed_from_channel_enabled (bool) – Whether to send a notification to a user when they are removed from a channel
- notifications_removed_from_channel_template (unicode) – The template to use to create the notification text displayed to a user when they are removed
- notifications_removed_from_channel_sound (unicode) – The name of the sound to play to a user when they are removed from a channel
- notifications_invited_to_channel_enabled (bool) – Whether to send a notification when a user is invited to a channel
- notifications_invited_to_channel_template (unicode) – The template to use to create the notification text displayed when a user is invited to a channel
- notifications_invited_to_channel_sound (unicode) – The name of the sound to play when a user is invited to a channel
- pre_webhook_url (unicode) – The webhook URL for pre-event webhooks
- post_webhook_url (unicode) – The URL for post-event webhooks
- webhook_method (unicode) – The HTTP method to use for both PRE and POST webhooks
- webhook_filters (list[unicode]) – The list of webhook events that are enabled for this Service instance
- limits_channel_members (unicode) – The maximum number of Members that can be added to Channels within this Service
- limits_user_channels (unicode) – The maximum number of Channels Users can be a Member of within this Service
- media_compatibility_message (unicode) – The message to send when a media message has no text
- pre_webhook_retry_count (unicode) – Count of times webhook will be retried in case of timeout or 429/503/504 HTTP responses
- post_webhook_retry_count (unicode) – The number of times calls to the post_webhook_url will be retried
- notifications_log_enabled (bool) – Whether to log notifications
Returns: The updated ServiceInstance
Return type:
-
url
¶ Returns: The absolute URL of the Service resource Return type: unicode
-
users
¶ Access the users
Returns: twilio.rest.chat.v2.service.user.UserList Return type: twilio.rest.chat.v2.service.user.UserList
-
webhook_filters
¶ Returns: The list of webhook events that are enabled for this Service instance Return type: list[unicode]
-
webhook_method
¶ Returns: The HTTP method to use for both PRE and POST webhooks Return type: unicode
-
-
class
twilio.rest.chat.v2.service.
ServiceList
(version)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(friendly_name)[source]¶ Create the ServiceInstance
Parameters: friendly_name (unicode) – A string to describe the resource Returns: The created ServiceInstance Return type: twilio.rest.chat.v2.service.ServiceInstance
-
get
(sid)[source]¶ Constructs a ServiceContext
Parameters: sid – The SID of the Service resource to fetch Returns: twilio.rest.chat.v2.service.ServiceContext Return type: twilio.rest.chat.v2.service.ServiceContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of ServiceInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of ServiceInstance Return type: twilio.rest.chat.v2.service.ServicePage
-
list
(limit=None, page_size=None)[source]¶ Lists ServiceInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of ServiceInstance records from the API. Request is executed immediately
Parameters: Returns: Page of ServiceInstance
Return type:
-
stream
(limit=None, page_size=None)[source]¶ Streams ServiceInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type:
-
-
class
twilio.rest.chat.v2.service.
ServicePage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of ServiceInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.chat.v2.service.ServiceInstance Return type: twilio.rest.chat.v2.service.ServiceInstance
-