diff --git a/docs/source/index.rst b/docs/source/index.rst index 2b2310737..58c363324 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -11,6 +11,7 @@ Contents: .. toctree:: :maxdepth: 4 + linebot.v3 linebot diff --git a/docs/source/linebot.models.rst b/docs/source/linebot.models.rst index d9e22807a..29885e9e9 100644 --- a/docs/source/linebot.models.rst +++ b/docs/source/linebot.models.rst @@ -1,5 +1,9 @@ -linebot.models package -====================== +linebot.models package (deprecated) +==================================== + +.. warning:: + + **Deprecated.** Use :doc:`linebot.v3 ` instead. linebot.models.actions module ------------------------------ diff --git a/docs/source/linebot.rst b/docs/source/linebot.rst index 1f9132192..1bcb8c221 100644 --- a/docs/source/linebot.rst +++ b/docs/source/linebot.rst @@ -1,5 +1,9 @@ -linebot package -=============== +linebot package (deprecated) +============================ + +.. warning:: + + **Deprecated.** Use :doc:`linebot.v3 ` instead. linebot.api module ------------------ diff --git a/docs/source/linebot.v3.audience.rst b/docs/source/linebot.v3.audience.rst new file mode 100644 index 000000000..64f2699f1 --- /dev/null +++ b/docs/source/linebot.v3.audience.rst @@ -0,0 +1,22 @@ +linebot.v3.audience package +=========================== + +API +--- + +.. autoclass:: linebot.v3.audience.api.manage_audience.ManageAudience + :members: + +.. autoclass:: linebot.v3.audience.api.async_manage_audience.AsyncManageAudience + :members: + +.. autoclass:: linebot.v3.audience.api.manage_audience_blob.ManageAudienceBlob + :members: + +.. autoclass:: linebot.v3.audience.api.async_manage_audience_blob.AsyncManageAudienceBlob + :members: + +Models +------ + +.. automodule:: linebot.v3.audience.models diff --git a/docs/source/linebot.v3.insight.rst b/docs/source/linebot.v3.insight.rst new file mode 100644 index 000000000..f2a11d5ac --- /dev/null +++ b/docs/source/linebot.v3.insight.rst @@ -0,0 +1,16 @@ +linebot.v3.insight package +========================== + +API +--- + +.. autoclass:: linebot.v3.insight.api.insight.Insight + :members: + +.. autoclass:: linebot.v3.insight.api.async_insight.AsyncInsight + :members: + +Models +------ + +.. automodule:: linebot.v3.insight.models diff --git a/docs/source/linebot.v3.liff.rst b/docs/source/linebot.v3.liff.rst new file mode 100644 index 000000000..90e4bbde7 --- /dev/null +++ b/docs/source/linebot.v3.liff.rst @@ -0,0 +1,16 @@ +linebot.v3.liff package +======================= + +API +--- + +.. autoclass:: linebot.v3.liff.api.liff.Liff + :members: + +.. autoclass:: linebot.v3.liff.api.async_liff.AsyncLiff + :members: + +Models +------ + +.. automodule:: linebot.v3.liff.models diff --git a/docs/source/linebot.v3.messaging.rst b/docs/source/linebot.v3.messaging.rst new file mode 100644 index 000000000..684dc3114 --- /dev/null +++ b/docs/source/linebot.v3.messaging.rst @@ -0,0 +1,22 @@ +linebot.v3.messaging package +============================ + +API +--- + +.. autoclass:: linebot.v3.messaging.api.messaging_api.MessagingApi + :members: + +.. autoclass:: linebot.v3.messaging.api.async_messaging_api.AsyncMessagingApi + :members: + +.. autoclass:: linebot.v3.messaging.api.messaging_api_blob.MessagingApiBlob + :members: + +.. autoclass:: linebot.v3.messaging.api.async_messaging_api_blob.AsyncMessagingApiBlob + :members: + +Models +------ + +.. automodule:: linebot.v3.messaging.models diff --git a/docs/source/linebot.v3.module.rst b/docs/source/linebot.v3.module.rst new file mode 100644 index 000000000..6c0e7cb09 --- /dev/null +++ b/docs/source/linebot.v3.module.rst @@ -0,0 +1,16 @@ +linebot.v3.module package +========================= + +API +--- + +.. autoclass:: linebot.v3.module.api.line_module.LineModule + :members: + +.. autoclass:: linebot.v3.module.api.async_line_module.AsyncLineModule + :members: + +Models +------ + +.. automodule:: linebot.v3.module.models diff --git a/docs/source/linebot.v3.moduleattach.rst b/docs/source/linebot.v3.moduleattach.rst new file mode 100644 index 000000000..98f72e0e7 --- /dev/null +++ b/docs/source/linebot.v3.moduleattach.rst @@ -0,0 +1,16 @@ +linebot.v3.moduleattach package +================================ + +API +--- + +.. autoclass:: linebot.v3.moduleattach.api.line_module_attach.LineModuleAttach + :members: + +.. autoclass:: linebot.v3.moduleattach.api.async_line_module_attach.AsyncLineModuleAttach + :members: + +Models +------ + +.. automodule:: linebot.v3.moduleattach.models diff --git a/docs/source/linebot.v3.oauth.rst b/docs/source/linebot.v3.oauth.rst new file mode 100644 index 000000000..e3ab5bff7 --- /dev/null +++ b/docs/source/linebot.v3.oauth.rst @@ -0,0 +1,16 @@ +linebot.v3.oauth package +======================== + +API +--- + +.. autoclass:: linebot.v3.oauth.api.channel_access_token.ChannelAccessToken + :members: + +.. autoclass:: linebot.v3.oauth.api.async_channel_access_token.AsyncChannelAccessToken + :members: + +Models +------ + +.. automodule:: linebot.v3.oauth.models diff --git a/docs/source/linebot.v3.rst b/docs/source/linebot.v3.rst new file mode 100644 index 000000000..62c748a29 --- /dev/null +++ b/docs/source/linebot.v3.rst @@ -0,0 +1,30 @@ +linebot.v3 package +================== + +.. automodule:: linebot.v3 + +linebot.v3.webhook module +-------------------------- + +.. automodule:: linebot.v3.webhook + :exclude-members: compare_digest + +linebot.v3.exceptions module +----------------------------- + +.. automodule:: linebot.v3.exceptions + +Subpackages +----------- + +.. toctree:: + + linebot.v3.messaging + linebot.v3.webhooks + linebot.v3.oauth + linebot.v3.audience + linebot.v3.insight + linebot.v3.liff + linebot.v3.module + linebot.v3.moduleattach + linebot.v3.shop diff --git a/docs/source/linebot.v3.shop.rst b/docs/source/linebot.v3.shop.rst new file mode 100644 index 000000000..4629ce99c --- /dev/null +++ b/docs/source/linebot.v3.shop.rst @@ -0,0 +1,16 @@ +linebot.v3.shop package +======================= + +API +--- + +.. autoclass:: linebot.v3.shop.api.shop.Shop + :members: + +.. autoclass:: linebot.v3.shop.api.async_shop.AsyncShop + :members: + +Models +------ + +.. automodule:: linebot.v3.shop.models diff --git a/docs/source/linebot.v3.webhooks.rst b/docs/source/linebot.v3.webhooks.rst new file mode 100644 index 000000000..f5dfbbe80 --- /dev/null +++ b/docs/source/linebot.v3.webhooks.rst @@ -0,0 +1,7 @@ +linebot.v3.webhooks package +=========================== + +Models +------ + +.. automodule:: linebot.v3.webhooks.models diff --git a/generator/src/main/resources/python-nextgen-custom-client/api.mustache b/generator/src/main/resources/python-nextgen-custom-client/api.mustache index 4097c9886..c9d63c21f 100644 --- a/generator/src/main/resources/python-nextgen-custom-client/api.mustache +++ b/generator/src/main/resources/python-nextgen-custom-client/api.mustache @@ -49,10 +49,10 @@ class {{classname}}(object): {{/asyncio}} @validate_arguments def {{operationId}}(self, {{#allParams}}{{paramName}} : {{{vendorExtensions.x-py-typing}}}{{^required}} = None{{/required}}, {{/allParams}}{{#asyncio}}async_req: Optional[bool]=None, {{/asyncio}}**kwargs) -> {{#asyncio}}Union[{{{returnType}}}{{^returnType}}None{{/returnType}}, Awaitable[{{{returnType}}}{{^returnType}}None{{/returnType}}]]{{/asyncio}}{{^asyncio}}{{{returnType}}}{{^returnType}}None{{/returnType}}{{/asyncio}}: # noqa: E501 - """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}}{{^summary}}{{operationId}}{{/summary}} # noqa: E501 + """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}} {{#notes}} - {{{.}}} # noqa: E501 + {{{.}}} {{/notes}} This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -86,10 +86,10 @@ class {{classname}}(object): @validate_arguments def {{operationId}}_with_http_info(self, {{#allParams}}{{paramName}} : {{{vendorExtensions.x-py-typing}}}{{^required}} = None{{/required}}, {{/allParams}}**kwargs) -> ApiResponse: # noqa: E501 - """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}}{{^summary}}{{operationId}}{{/summary}} # noqa: E501 + """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}} {{#notes}} - {{{.}}} # noqa: E501 + {{{.}}} {{/notes}} This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/generator/src/main/resources/python-nextgen-custom-client/asyncio/async_api.mustache b/generator/src/main/resources/python-nextgen-custom-client/asyncio/async_api.mustache index 1cb0ef008..4ce037c8a 100644 --- a/generator/src/main/resources/python-nextgen-custom-client/asyncio/async_api.mustache +++ b/generator/src/main/resources/python-nextgen-custom-client/asyncio/async_api.mustache @@ -48,16 +48,11 @@ class Async{{classname}}(object): @validate_arguments def {{operationId}}(self, {{#allParams}}{{paramName}} : {{{vendorExtensions.x-py-typing}}}{{^required}} = None{{/required}}, {{/allParams}}async_req: Optional[bool]=None, **kwargs) -> Union[{{{returnType}}}{{^returnType}}None{{/returnType}}, Awaitable[{{{returnType}}}{{^returnType}}None{{/returnType}}]]: # noqa: E501 - """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}}{{^summary}}{{operationId}}{{/summary}} # noqa: E501 + """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}} {{#notes}} - {{{.}}} # noqa: E501 + {{{.}}} {{/notes}} - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}async_req=True) - >>> result = thread.get() {{#allParams}} :param {{paramName}}:{{#description}} {{{.}}}{{/description}}{{#required}} (required){{/required}}{{#optional}}(optional){{/optional}} @@ -70,8 +65,6 @@ class Async{{classname}}(object): timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: {{returnType}}{{^returnType}}None{{/returnType}} """ kwargs['_return_http_data_only'] = True @@ -83,16 +76,11 @@ class Async{{classname}}(object): @validate_arguments def {{operationId}}_with_http_info(self, {{#allParams}}{{paramName}} : {{{vendorExtensions.x-py-typing}}}{{^required}} = None{{/required}}, {{/allParams}}**kwargs) -> ApiResponse: # noqa: E501 - """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}}{{^summary}}{{operationId}}{{/summary}} # noqa: E501 + """{{#isDeprecated}}(Deprecated) {{/isDeprecated}}{{{summary}}} {{#notes}} - {{{.}}} # noqa: E501 + {{{.}}} {{/notes}} - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.{{operationId}}_with_http_info({{#allParams}}{{paramName}}, {{/allParams}}async_req=True) - >>> result = thread.get() {{#allParams}} :param {{paramName}}:{{#description}} {{{.}}}{{/description}}{{#required}} (required){{/required}}{{#optional}}(optional){{/optional}} @@ -118,8 +106,6 @@ class Async{{classname}}(object): :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: {{#returnType}}tuple({{.}}, status_code(int), headers(HTTPHeaderDict)){{/returnType}}{{^returnType}}None{{/returnType}} """ diff --git a/linebot/v3/audience/api/async_manage_audience.py b/linebot/v3/audience/api/async_manage_audience.py index 83c0b27d8..3a4dc1dd9 100644 --- a/linebot/v3/audience/api/async_manage_audience.py +++ b/linebot/v3/audience/api/async_manage_audience.py @@ -71,14 +71,9 @@ def add_audience_to_audience_group(self, add_audience_to_audience_group_request @validate_arguments def add_audience_to_audience_group(self, add_audience_to_audience_group_request : AddAudienceToAudienceGroupRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """add_audience_to_audience_group # noqa: E501 - - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.add_audience_to_audience_group(add_audience_to_audience_group_request, async_req=True) - >>> result = thread.get() + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) :param add_audience_to_audience_group_request: (required) :type add_audience_to_audience_group_request: AddAudienceToAudienceGroupRequest @@ -89,8 +84,6 @@ def add_audience_to_audience_group(self, add_audience_to_audience_group_request timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -102,14 +95,9 @@ def add_audience_to_audience_group(self, add_audience_to_audience_group_request @validate_arguments def add_audience_to_audience_group_with_http_info(self, add_audience_to_audience_group_request : AddAudienceToAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """add_audience_to_audience_group # noqa: E501 - - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.add_audience_to_audience_group_with_http_info(add_audience_to_audience_group_request, async_req=True) - >>> result = thread.get() + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) :param add_audience_to_audience_group_request: (required) :type add_audience_to_audience_group_request: AddAudienceToAudienceGroupRequest @@ -133,8 +121,6 @@ def add_audience_to_audience_group_with_http_info(self, add_audience_to_audience :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -223,14 +209,9 @@ def create_audience_group(self, create_audience_group_request : CreateAudienceGr @validate_arguments def create_audience_group(self, create_audience_group_request : CreateAudienceGroupRequest, async_req: Optional[bool]=None, **kwargs) -> Union[CreateAudienceGroupResponse, Awaitable[CreateAudienceGroupResponse]]: # noqa: E501 - """create_audience_group # noqa: E501 - - Create audience for uploading user IDs (by JSON) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_audience_group(create_audience_group_request, async_req=True) - >>> result = thread.get() + Create audience for uploading user IDs (by JSON) :param create_audience_group_request: (required) :type create_audience_group_request: CreateAudienceGroupRequest @@ -241,8 +222,6 @@ def create_audience_group(self, create_audience_group_request : CreateAudienceGr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: CreateAudienceGroupResponse """ kwargs['_return_http_data_only'] = True @@ -254,14 +233,9 @@ def create_audience_group(self, create_audience_group_request : CreateAudienceGr @validate_arguments def create_audience_group_with_http_info(self, create_audience_group_request : CreateAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_audience_group # noqa: E501 - - Create audience for uploading user IDs (by JSON) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_audience_group_with_http_info(create_audience_group_request, async_req=True) - >>> result = thread.get() + Create audience for uploading user IDs (by JSON) :param create_audience_group_request: (required) :type create_audience_group_request: CreateAudienceGroupRequest @@ -285,8 +259,6 @@ def create_audience_group_with_http_info(self, create_audience_group_request : C :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(CreateAudienceGroupResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -381,14 +353,9 @@ def create_click_based_audience_group(self, create_click_based_audience_group_re @validate_arguments def create_click_based_audience_group(self, create_click_based_audience_group_request : CreateClickBasedAudienceGroupRequest, async_req: Optional[bool]=None, **kwargs) -> Union[CreateClickBasedAudienceGroupResponse, Awaitable[CreateClickBasedAudienceGroupResponse]]: # noqa: E501 - """create_click_based_audience_group # noqa: E501 - - Create audience for click-based retargeting # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_click_based_audience_group(create_click_based_audience_group_request, async_req=True) - >>> result = thread.get() + Create audience for click-based retargeting :param create_click_based_audience_group_request: (required) :type create_click_based_audience_group_request: CreateClickBasedAudienceGroupRequest @@ -399,8 +366,6 @@ def create_click_based_audience_group(self, create_click_based_audience_group_re timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: CreateClickBasedAudienceGroupResponse """ kwargs['_return_http_data_only'] = True @@ -412,14 +377,9 @@ def create_click_based_audience_group(self, create_click_based_audience_group_re @validate_arguments def create_click_based_audience_group_with_http_info(self, create_click_based_audience_group_request : CreateClickBasedAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_click_based_audience_group # noqa: E501 - - Create audience for click-based retargeting # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_click_based_audience_group_with_http_info(create_click_based_audience_group_request, async_req=True) - >>> result = thread.get() + Create audience for click-based retargeting :param create_click_based_audience_group_request: (required) :type create_click_based_audience_group_request: CreateClickBasedAudienceGroupRequest @@ -443,8 +403,6 @@ def create_click_based_audience_group_with_http_info(self, create_click_based_au :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(CreateClickBasedAudienceGroupResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -539,14 +497,9 @@ def create_imp_based_audience_group(self, create_imp_based_audience_group_reques @validate_arguments def create_imp_based_audience_group(self, create_imp_based_audience_group_request : CreateImpBasedAudienceGroupRequest, async_req: Optional[bool]=None, **kwargs) -> Union[CreateImpBasedAudienceGroupResponse, Awaitable[CreateImpBasedAudienceGroupResponse]]: # noqa: E501 - """create_imp_based_audience_group # noqa: E501 - - Create audience for impression-based retargeting # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_imp_based_audience_group(create_imp_based_audience_group_request, async_req=True) - >>> result = thread.get() + Create audience for impression-based retargeting :param create_imp_based_audience_group_request: (required) :type create_imp_based_audience_group_request: CreateImpBasedAudienceGroupRequest @@ -557,8 +510,6 @@ def create_imp_based_audience_group(self, create_imp_based_audience_group_reques timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: CreateImpBasedAudienceGroupResponse """ kwargs['_return_http_data_only'] = True @@ -570,14 +521,9 @@ def create_imp_based_audience_group(self, create_imp_based_audience_group_reques @validate_arguments def create_imp_based_audience_group_with_http_info(self, create_imp_based_audience_group_request : CreateImpBasedAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_imp_based_audience_group # noqa: E501 - - Create audience for impression-based retargeting # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_imp_based_audience_group_with_http_info(create_imp_based_audience_group_request, async_req=True) - >>> result = thread.get() + Create audience for impression-based retargeting :param create_imp_based_audience_group_request: (required) :type create_imp_based_audience_group_request: CreateImpBasedAudienceGroupRequest @@ -601,8 +547,6 @@ def create_imp_based_audience_group_with_http_info(self, create_imp_based_audien :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(CreateImpBasedAudienceGroupResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -697,14 +641,9 @@ def delete_audience_group(self, audience_group_id : Annotated[StrictInt, Field(. @validate_arguments def delete_audience_group(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """delete_audience_group # noqa: E501 - - Delete audience # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.delete_audience_group(audience_group_id, async_req=True) - >>> result = thread.get() + Delete audience :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -715,8 +654,6 @@ def delete_audience_group(self, audience_group_id : Annotated[StrictInt, Field(. timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -728,14 +665,9 @@ def delete_audience_group(self, audience_group_id : Annotated[StrictInt, Field(. @validate_arguments def delete_audience_group_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """delete_audience_group # noqa: E501 - - Delete audience # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.delete_audience_group_with_http_info(audience_group_id, async_req=True) - >>> result = thread.get() + Delete audience :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -759,8 +691,6 @@ def delete_audience_group_with_http_info(self, audience_group_id : Annotated[Str :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -842,14 +772,9 @@ def get_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., @validate_arguments def get_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], async_req: Optional[bool]=None, **kwargs) -> Union[GetAudienceDataResponse, Awaitable[GetAudienceDataResponse]]: # noqa: E501 - """get_audience_data # noqa: E501 - - Gets audience data. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_audience_data(audience_group_id, async_req=True) - >>> result = thread.get() + Gets audience data. :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -860,8 +785,6 @@ def get_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetAudienceDataResponse """ kwargs['_return_http_data_only'] = True @@ -873,14 +796,9 @@ def get_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., @validate_arguments def get_audience_data_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_audience_data # noqa: E501 - - Gets audience data. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_audience_data_with_http_info(audience_group_id, async_req=True) - >>> result = thread.get() + Gets audience data. :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -904,8 +822,6 @@ def get_audience_data_with_http_info(self, audience_group_id : Annotated[StrictI :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetAudienceDataResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -994,14 +910,9 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( @validate_arguments def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetAudienceGroupsResponse, Awaitable[GetAudienceGroupsResponse]]: # noqa: E501 - """get_audience_groups # noqa: E501 - - Gets data for more than one audience. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_audience_groups(page, description, status, size, includes_external_public_groups, create_route, async_req=True) - >>> result = thread.get() + Gets data for more than one audience. :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int @@ -1022,8 +933,6 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetAudienceGroupsResponse """ kwargs['_return_http_data_only'] = True @@ -1035,14 +944,9 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( @validate_arguments def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_audience_groups # noqa: E501 - - Gets data for more than one audience. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_audience_groups_with_http_info(page, description, status, size, includes_external_public_groups, create_route, async_req=True) - >>> result = thread.get() + Gets data for more than one audience. :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int @@ -1076,8 +980,6 @@ def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetAudienceGroupsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1185,14 +1087,9 @@ def get_shared_audience_data(self, audience_group_id : Annotated[StrictInt, Fiel @validate_arguments def get_shared_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], async_req: Optional[bool]=None, **kwargs) -> Union[GetSharedAudienceDataResponse, Awaitable[GetSharedAudienceDataResponse]]: # noqa: E501 - """get_shared_audience_data # noqa: E501 - - Gets audience data. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_shared_audience_data(audience_group_id, async_req=True) - >>> result = thread.get() + Gets audience data. :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -1203,8 +1100,6 @@ def get_shared_audience_data(self, audience_group_id : Annotated[StrictInt, Fiel timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetSharedAudienceDataResponse """ kwargs['_return_http_data_only'] = True @@ -1216,14 +1111,9 @@ def get_shared_audience_data(self, audience_group_id : Annotated[StrictInt, Fiel @validate_arguments def get_shared_audience_data_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_shared_audience_data # noqa: E501 - - Gets audience data. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_shared_audience_data_with_http_info(audience_group_id, async_req=True) - >>> result = thread.get() + Gets audience data. :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -1247,8 +1137,6 @@ def get_shared_audience_data_with_http_info(self, audience_group_id : Annotated[ :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetSharedAudienceDataResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1337,14 +1225,9 @@ def get_shared_audience_groups(self, page : Annotated[conint(strict=True, ge=1), @validate_arguments def get_shared_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, includes_owned_audience_groups : Annotated[Optional[StrictBool], Field(description="true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetSharedAudienceGroupsResponse, Awaitable[GetSharedAudienceGroupsResponse]]: # noqa: E501 - """get_shared_audience_groups # noqa: E501 - - Gets data for more than one audience, including those shared by the Business Manager. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_shared_audience_groups(page, description, status, size, create_route, includes_owned_audience_groups, async_req=True) - >>> result = thread.get() + Gets data for more than one audience, including those shared by the Business Manager. :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int @@ -1365,8 +1248,6 @@ def get_shared_audience_groups(self, page : Annotated[conint(strict=True, ge=1), timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetSharedAudienceGroupsResponse """ kwargs['_return_http_data_only'] = True @@ -1378,14 +1259,9 @@ def get_shared_audience_groups(self, page : Annotated[conint(strict=True, ge=1), @validate_arguments def get_shared_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, includes_owned_audience_groups : Annotated[Optional[StrictBool], Field(description="true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_shared_audience_groups # noqa: E501 - - Gets data for more than one audience, including those shared by the Business Manager. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_shared_audience_groups_with_http_info(page, description, status, size, create_route, includes_owned_audience_groups, async_req=True) - >>> result = thread.get() + Gets data for more than one audience, including those shared by the Business Manager. :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int @@ -1419,8 +1295,6 @@ def get_shared_audience_groups_with_http_info(self, page : Annotated[conint(stri :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetSharedAudienceGroupsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1528,14 +1402,9 @@ def update_audience_group_description(self, audience_group_id : Annotated[Strict @validate_arguments def update_audience_group_description(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], update_audience_group_description_request : UpdateAudienceGroupDescriptionRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """update_audience_group_description # noqa: E501 - - Renames an existing audience. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.update_audience_group_description(audience_group_id, update_audience_group_description_request, async_req=True) - >>> result = thread.get() + Renames an existing audience. :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -1548,8 +1417,6 @@ def update_audience_group_description(self, audience_group_id : Annotated[Strict timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -1561,14 +1428,9 @@ def update_audience_group_description(self, audience_group_id : Annotated[Strict @validate_arguments def update_audience_group_description_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], update_audience_group_description_request : UpdateAudienceGroupDescriptionRequest, **kwargs) -> ApiResponse: # noqa: E501 - """update_audience_group_description # noqa: E501 - - Renames an existing audience. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.update_audience_group_description_with_http_info(audience_group_id, update_audience_group_description_request, async_req=True) - >>> result = thread.get() + Renames an existing audience. :param audience_group_id: The audience ID. (required) :type audience_group_id: int @@ -1594,8 +1456,6 @@ def update_audience_group_description_with_http_info(self, audience_group_id : A :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ diff --git a/linebot/v3/audience/api/async_manage_audience_blob.py b/linebot/v3/audience/api/async_manage_audience_blob.py index 558a8fa50..0c5efdf39 100644 --- a/linebot/v3/audience/api/async_manage_audience_blob.py +++ b/linebot/v3/audience/api/async_manage_audience_blob.py @@ -58,14 +58,9 @@ def add_user_ids_to_audience(self, file : Annotated[Union[StrictBytes, StrictStr @validate_arguments def add_user_ids_to_audience(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], audience_group_id : Annotated[Optional[StrictInt], Field(description="The audience ID.")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register with the job")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """add_user_ids_to_audience # noqa: E501 - - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.add_user_ids_to_audience(file, audience_group_id, upload_description, async_req=True) - >>> result = thread.get() + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). :param file: A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 (required) :type file: bytearray @@ -80,8 +75,6 @@ def add_user_ids_to_audience(self, file : Annotated[Union[StrictBytes, StrictStr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -93,14 +86,9 @@ def add_user_ids_to_audience(self, file : Annotated[Union[StrictBytes, StrictStr @validate_arguments def add_user_ids_to_audience_with_http_info(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], audience_group_id : Annotated[Optional[StrictInt], Field(description="The audience ID.")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register with the job")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """add_user_ids_to_audience # noqa: E501 - - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.add_user_ids_to_audience_with_http_info(file, audience_group_id, upload_description, async_req=True) - >>> result = thread.get() + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). :param file: A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 (required) :type file: bytearray @@ -128,8 +116,6 @@ def add_user_ids_to_audience_with_http_info(self, file : Annotated[Union[StrictB :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -237,14 +223,9 @@ def create_audience_for_uploading_user_ids(self, file : Annotated[Union[StrictBy @validate_arguments def create_audience_for_uploading_user_ids(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], description : Annotated[Optional[constr(strict=True, max_length=120)], Field(description="The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120 ")] = None, is_ifa_audience : Annotated[Optional[StrictBool], Field(description="To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property. ")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register for the job (in `jobs[].description`). ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[CreateAudienceGroupResponse, Awaitable[CreateAudienceGroupResponse]]: # noqa: E501 - """create_audience_for_uploading_user_ids # noqa: E501 - - Create audience for uploading user IDs (by file). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_audience_for_uploading_user_ids(file, description, is_ifa_audience, upload_description, async_req=True) - >>> result = thread.get() + Create audience for uploading user IDs (by file). :param file: A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 (required) :type file: bytearray @@ -261,8 +242,6 @@ def create_audience_for_uploading_user_ids(self, file : Annotated[Union[StrictBy timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: CreateAudienceGroupResponse """ kwargs['_return_http_data_only'] = True @@ -274,14 +253,9 @@ def create_audience_for_uploading_user_ids(self, file : Annotated[Union[StrictBy @validate_arguments def create_audience_for_uploading_user_ids_with_http_info(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], description : Annotated[Optional[constr(strict=True, max_length=120)], Field(description="The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120 ")] = None, is_ifa_audience : Annotated[Optional[StrictBool], Field(description="To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property. ")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register for the job (in `jobs[].description`). ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """create_audience_for_uploading_user_ids # noqa: E501 - - Create audience for uploading user IDs (by file). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_audience_for_uploading_user_ids_with_http_info(file, description, is_ifa_audience, upload_description, async_req=True) - >>> result = thread.get() + Create audience for uploading user IDs (by file). :param file: A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 (required) :type file: bytearray @@ -311,8 +285,6 @@ def create_audience_for_uploading_user_ids_with_http_info(self, file : Annotated :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(CreateAudienceGroupResponse, status_code(int), headers(HTTPHeaderDict)) """ diff --git a/linebot/v3/audience/api/manage_audience.py b/linebot/v3/audience/api/manage_audience.py index 3888f4146..d575501db 100644 --- a/linebot/v3/audience/api/manage_audience.py +++ b/linebot/v3/audience/api/manage_audience.py @@ -61,9 +61,9 @@ def __init__(self, api_client=None): @validate_arguments def add_audience_to_audience_group(self, add_audience_to_audience_group_request : AddAudienceToAudienceGroupRequest, **kwargs) -> None: # noqa: E501 - """add_audience_to_audience_group # noqa: E501 + """ - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) # noqa: E501 + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -90,9 +90,9 @@ def add_audience_to_audience_group(self, add_audience_to_audience_group_request @validate_arguments def add_audience_to_audience_group_with_http_info(self, add_audience_to_audience_group_request : AddAudienceToAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """add_audience_to_audience_group # noqa: E501 + """ - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) # noqa: E501 + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -203,9 +203,9 @@ def add_audience_to_audience_group_with_http_info(self, add_audience_to_audience @validate_arguments def create_audience_group(self, create_audience_group_request : CreateAudienceGroupRequest, **kwargs) -> CreateAudienceGroupResponse: # noqa: E501 - """create_audience_group # noqa: E501 + """ - Create audience for uploading user IDs (by JSON) # noqa: E501 + Create audience for uploading user IDs (by JSON) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -232,9 +232,9 @@ def create_audience_group(self, create_audience_group_request : CreateAudienceGr @validate_arguments def create_audience_group_with_http_info(self, create_audience_group_request : CreateAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_audience_group # noqa: E501 + """ - Create audience for uploading user IDs (by JSON) # noqa: E501 + Create audience for uploading user IDs (by JSON) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -351,9 +351,9 @@ def create_audience_group_with_http_info(self, create_audience_group_request : C @validate_arguments def create_click_based_audience_group(self, create_click_based_audience_group_request : CreateClickBasedAudienceGroupRequest, **kwargs) -> CreateClickBasedAudienceGroupResponse: # noqa: E501 - """create_click_based_audience_group # noqa: E501 + """ - Create audience for click-based retargeting # noqa: E501 + Create audience for click-based retargeting This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,9 +380,9 @@ def create_click_based_audience_group(self, create_click_based_audience_group_re @validate_arguments def create_click_based_audience_group_with_http_info(self, create_click_based_audience_group_request : CreateClickBasedAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_click_based_audience_group # noqa: E501 + """ - Create audience for click-based retargeting # noqa: E501 + Create audience for click-based retargeting This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -499,9 +499,9 @@ def create_click_based_audience_group_with_http_info(self, create_click_based_au @validate_arguments def create_imp_based_audience_group(self, create_imp_based_audience_group_request : CreateImpBasedAudienceGroupRequest, **kwargs) -> CreateImpBasedAudienceGroupResponse: # noqa: E501 - """create_imp_based_audience_group # noqa: E501 + """ - Create audience for impression-based retargeting # noqa: E501 + Create audience for impression-based retargeting This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -528,9 +528,9 @@ def create_imp_based_audience_group(self, create_imp_based_audience_group_reques @validate_arguments def create_imp_based_audience_group_with_http_info(self, create_imp_based_audience_group_request : CreateImpBasedAudienceGroupRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_imp_based_audience_group # noqa: E501 + """ - Create audience for impression-based retargeting # noqa: E501 + Create audience for impression-based retargeting This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -647,9 +647,9 @@ def create_imp_based_audience_group_with_http_info(self, create_imp_based_audien @validate_arguments def delete_audience_group(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> None: # noqa: E501 - """delete_audience_group # noqa: E501 + """ - Delete audience # noqa: E501 + Delete audience This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -676,9 +676,9 @@ def delete_audience_group(self, audience_group_id : Annotated[StrictInt, Field(. @validate_arguments def delete_audience_group_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """delete_audience_group # noqa: E501 + """ - Delete audience # noqa: E501 + Delete audience This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -782,9 +782,9 @@ def delete_audience_group_with_http_info(self, audience_group_id : Annotated[Str @validate_arguments def get_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> GetAudienceDataResponse: # noqa: E501 - """get_audience_data # noqa: E501 + """ - Gets audience data. # noqa: E501 + Gets audience data. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -811,9 +811,9 @@ def get_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., @validate_arguments def get_audience_data_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_audience_data # noqa: E501 + """ - Gets audience data. # noqa: E501 + Gets audience data. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -924,9 +924,9 @@ def get_audience_data_with_http_info(self, audience_group_id : Annotated[StrictI @validate_arguments def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 - """get_audience_groups # noqa: E501 + """ - Gets data for more than one audience. # noqa: E501 + Gets data for more than one audience. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -963,9 +963,9 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( @validate_arguments def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_audience_groups # noqa: E501 + """ - Gets data for more than one audience. # noqa: E501 + Gets data for more than one audience. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1105,9 +1105,9 @@ def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True @validate_arguments def get_shared_audience_data(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> GetSharedAudienceDataResponse: # noqa: E501 - """get_shared_audience_data # noqa: E501 + """ - Gets audience data. # noqa: E501 + Gets audience data. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1134,9 +1134,9 @@ def get_shared_audience_data(self, audience_group_id : Annotated[StrictInt, Fiel @validate_arguments def get_shared_audience_data_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_shared_audience_data # noqa: E501 + """ - Gets audience data. # noqa: E501 + Gets audience data. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1247,9 +1247,9 @@ def get_shared_audience_data_with_http_info(self, audience_group_id : Annotated[ @validate_arguments def get_shared_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, includes_owned_audience_groups : Annotated[Optional[StrictBool], Field(description="true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager ")] = None, **kwargs) -> GetSharedAudienceGroupsResponse: # noqa: E501 - """get_shared_audience_groups # noqa: E501 + """ - Gets data for more than one audience, including those shared by the Business Manager. # noqa: E501 + Gets data for more than one audience, including those shared by the Business Manager. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1286,9 +1286,9 @@ def get_shared_audience_groups(self, page : Annotated[conint(strict=True, ge=1), @validate_arguments def get_shared_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, includes_owned_audience_groups : Annotated[Optional[StrictBool], Field(description="true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_shared_audience_groups # noqa: E501 + """ - Gets data for more than one audience, including those shared by the Business Manager. # noqa: E501 + Gets data for more than one audience, including those shared by the Business Manager. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1428,9 +1428,9 @@ def get_shared_audience_groups_with_http_info(self, page : Annotated[conint(stri @validate_arguments def update_audience_group_description(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], update_audience_group_description_request : UpdateAudienceGroupDescriptionRequest, **kwargs) -> None: # noqa: E501 - """update_audience_group_description # noqa: E501 + """ - Renames an existing audience. # noqa: E501 + Renames an existing audience. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1459,9 +1459,9 @@ def update_audience_group_description(self, audience_group_id : Annotated[Strict @validate_arguments def update_audience_group_description_with_http_info(self, audience_group_id : Annotated[StrictInt, Field(..., description="The audience ID.")], update_audience_group_description_request : UpdateAudienceGroupDescriptionRequest, **kwargs) -> ApiResponse: # noqa: E501 - """update_audience_group_description # noqa: E501 + """ - Renames an existing audience. # noqa: E501 + Renames an existing audience. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/audience/api/manage_audience_blob.py b/linebot/v3/audience/api/manage_audience_blob.py index 66603b2d6..189e21f1e 100644 --- a/linebot/v3/audience/api/manage_audience_blob.py +++ b/linebot/v3/audience/api/manage_audience_blob.py @@ -48,9 +48,9 @@ def __init__(self, api_client=None): @validate_arguments def add_user_ids_to_audience(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], audience_group_id : Annotated[Optional[StrictInt], Field(description="The audience ID.")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register with the job")] = None, **kwargs) -> None: # noqa: E501 - """add_user_ids_to_audience # noqa: E501 + """ - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). # noqa: E501 + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -81,9 +81,9 @@ def add_user_ids_to_audience(self, file : Annotated[Union[StrictBytes, StrictStr @validate_arguments def add_user_ids_to_audience_with_http_info(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], audience_group_id : Annotated[Optional[StrictInt], Field(description="The audience ID.")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register with the job")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """add_user_ids_to_audience # noqa: E501 + """ - Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). # noqa: E501 + Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -217,9 +217,9 @@ def add_user_ids_to_audience_with_http_info(self, file : Annotated[Union[StrictB @validate_arguments def create_audience_for_uploading_user_ids(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], description : Annotated[Optional[constr(strict=True, max_length=120)], Field(description="The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120 ")] = None, is_ifa_audience : Annotated[Optional[StrictBool], Field(description="To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property. ")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register for the job (in `jobs[].description`). ")] = None, **kwargs) -> CreateAudienceGroupResponse: # noqa: E501 - """create_audience_for_uploading_user_ids # noqa: E501 + """ - Create audience for uploading user IDs (by file). # noqa: E501 + Create audience for uploading user IDs (by file). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -252,9 +252,9 @@ def create_audience_for_uploading_user_ids(self, file : Annotated[Union[StrictBy @validate_arguments def create_audience_for_uploading_user_ids_with_http_info(self, file : Annotated[Union[StrictBytes, StrictStr], Field(..., description="A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000 ")], description : Annotated[Optional[constr(strict=True, max_length=120)], Field(description="The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120 ")] = None, is_ifa_audience : Annotated[Optional[StrictBool], Field(description="To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property. ")] = None, upload_description : Annotated[Optional[StrictStr], Field(description="The description to register for the job (in `jobs[].description`). ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """create_audience_for_uploading_user_ids # noqa: E501 + """ - Create audience for uploading user IDs (by file). # noqa: E501 + Create audience for uploading user IDs (by file). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/insight/api/async_insight.py b/linebot/v3/insight/api/async_insight.py index e8d150988..d81e797c6 100644 --- a/linebot/v3/insight/api/async_insight.py +++ b/linebot/v3/insight/api/async_insight.py @@ -62,14 +62,9 @@ def get_friends_demographics(self, async_req: Optional[bool]=True, **kwargs) -> @validate_arguments def get_friends_demographics(self, async_req: Optional[bool]=None, **kwargs) -> Union[GetFriendsDemographicsResponse, Awaitable[GetFriendsDemographicsResponse]]: # noqa: E501 - """get_friends_demographics # noqa: E501 - - Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_friends_demographics(async_req=True) - >>> result = thread.get() + Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -78,8 +73,6 @@ def get_friends_demographics(self, async_req: Optional[bool]=None, **kwargs) -> timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetFriendsDemographicsResponse """ kwargs['_return_http_data_only'] = True @@ -91,14 +84,9 @@ def get_friends_demographics(self, async_req: Optional[bool]=None, **kwargs) -> @validate_arguments def get_friends_demographics_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_friends_demographics # noqa: E501 - - Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_friends_demographics_with_http_info(async_req=True) - >>> result = thread.get() + Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -120,8 +108,6 @@ def get_friends_demographics_with_http_info(self, **kwargs) -> ApiResponse: # n :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetFriendsDemographicsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -205,14 +191,9 @@ def get_message_event(self, request_id : Annotated[constr(strict=True, min_lengt @validate_arguments def get_message_event(self, request_id : Annotated[constr(strict=True, min_length=1), Field(..., description="Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID. ")], async_req: Optional[bool]=None, **kwargs) -> Union[GetMessageEventResponse, Awaitable[GetMessageEventResponse]]: # noqa: E501 - """Get user interaction statistics # noqa: E501 + """Get user interaction statistics - Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_message_event(request_id, async_req=True) - >>> result = thread.get() + Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. :param request_id: Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID. (required) :type request_id: str @@ -223,8 +204,6 @@ def get_message_event(self, request_id : Annotated[constr(strict=True, min_lengt timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetMessageEventResponse """ kwargs['_return_http_data_only'] = True @@ -236,14 +215,9 @@ def get_message_event(self, request_id : Annotated[constr(strict=True, min_lengt @validate_arguments def get_message_event_with_http_info(self, request_id : Annotated[constr(strict=True, min_length=1), Field(..., description="Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID. ")], **kwargs) -> ApiResponse: # noqa: E501 - """Get user interaction statistics # noqa: E501 - - Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Get user interaction statistics - >>> thread = api.get_message_event_with_http_info(request_id, async_req=True) - >>> result = thread.get() + Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. :param request_id: Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID. (required) :type request_id: str @@ -267,8 +241,6 @@ def get_message_event_with_http_info(self, request_id : Annotated[constr(strict= :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetMessageEventResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -356,14 +328,9 @@ def get_number_of_followers(self, var_date : Annotated[Optional[constr(strict=Tr @validate_arguments def get_number_of_followers(self, var_date : Annotated[Optional[constr(strict=True, max_length=8, min_length=8)], Field(description="Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetNumberOfFollowersResponse, Awaitable[GetNumberOfFollowersResponse]]: # noqa: E501 - """Get number of followers # noqa: E501 - - Returns the number of users who have added the LINE Official Account on or before a specified date. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Get number of followers - >>> thread = api.get_number_of_followers(var_date, async_req=True) - >>> result = thread.get() + Returns the number of users who have added the LINE Official Account on or before a specified date. :param var_date: Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 :type var_date: str @@ -374,8 +341,6 @@ def get_number_of_followers(self, var_date : Annotated[Optional[constr(strict=Tr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetNumberOfFollowersResponse """ kwargs['_return_http_data_only'] = True @@ -387,14 +352,9 @@ def get_number_of_followers(self, var_date : Annotated[Optional[constr(strict=Tr @validate_arguments def get_number_of_followers_with_http_info(self, var_date : Annotated[Optional[constr(strict=True, max_length=8, min_length=8)], Field(description="Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """Get number of followers # noqa: E501 + """Get number of followers - Returns the number of users who have added the LINE Official Account on or before a specified date. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_number_of_followers_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Returns the number of users who have added the LINE Official Account on or before a specified date. :param var_date: Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 :type var_date: str @@ -418,8 +378,6 @@ def get_number_of_followers_with_http_info(self, var_date : Annotated[Optional[c :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetNumberOfFollowersResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -507,14 +465,9 @@ def get_number_of_message_deliveries(self, var_date : Annotated[constr(strict=Tr @validate_arguments def get_number_of_message_deliveries(self, var_date : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[GetNumberOfMessageDeliveriesResponse, Awaitable[GetNumberOfMessageDeliveriesResponse]]: # noqa: E501 - """Get number of message deliveries # noqa: E501 - - Returns the number of messages sent from LINE Official Account on a specified day. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Get number of message deliveries - >>> thread = api.get_number_of_message_deliveries(var_date, async_req=True) - >>> result = thread.get() + Returns the number of messages sent from LINE Official Account on a specified day. :param var_date: Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9 (required) :type var_date: str @@ -525,8 +478,6 @@ def get_number_of_message_deliveries(self, var_date : Annotated[constr(strict=Tr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetNumberOfMessageDeliveriesResponse """ kwargs['_return_http_data_only'] = True @@ -538,14 +489,9 @@ def get_number_of_message_deliveries(self, var_date : Annotated[constr(strict=Tr @validate_arguments def get_number_of_message_deliveries_with_http_info(self, var_date : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """Get number of message deliveries # noqa: E501 + """Get number of message deliveries - Returns the number of messages sent from LINE Official Account on a specified day. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_number_of_message_deliveries_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Returns the number of messages sent from LINE Official Account on a specified day. :param var_date: Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9 (required) :type var_date: str @@ -569,8 +515,6 @@ def get_number_of_message_deliveries_with_http_info(self, var_date : Annotated[c :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetNumberOfMessageDeliveriesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -658,14 +602,9 @@ def get_statistics_per_unit(self, custom_aggregation_unit : Annotated[constr(str @validate_arguments def get_statistics_per_unit(self, custom_aggregation_unit : Annotated[constr(strict=True, max_length=30, min_length=1), Field(..., description="Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names. ")], var_from : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], to : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[GetStatisticsPerUnitResponse, Awaitable[GetStatisticsPerUnitResponse]]: # noqa: E501 - """get_statistics_per_unit # noqa: E501 - - You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_statistics_per_unit(custom_aggregation_unit, var_from, to, async_req=True) - >>> result = thread.get() + You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. :param custom_aggregation_unit: Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names. (required) :type custom_aggregation_unit: str @@ -680,8 +619,6 @@ def get_statistics_per_unit(self, custom_aggregation_unit : Annotated[constr(str timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetStatisticsPerUnitResponse """ kwargs['_return_http_data_only'] = True @@ -693,14 +630,9 @@ def get_statistics_per_unit(self, custom_aggregation_unit : Annotated[constr(str @validate_arguments def get_statistics_per_unit_with_http_info(self, custom_aggregation_unit : Annotated[constr(strict=True, max_length=30, min_length=1), Field(..., description="Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names. ")], var_from : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], to : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_statistics_per_unit # noqa: E501 - - You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_statistics_per_unit_with_http_info(custom_aggregation_unit, var_from, to, async_req=True) - >>> result = thread.get() + You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. :param custom_aggregation_unit: Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names. (required) :type custom_aggregation_unit: str @@ -728,8 +660,6 @@ def get_statistics_per_unit_with_http_info(self, custom_aggregation_unit : Annot :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetStatisticsPerUnitResponse, status_code(int), headers(HTTPHeaderDict)) """ diff --git a/linebot/v3/insight/api/insight.py b/linebot/v3/insight/api/insight.py index fc9dd80ff..70c774e52 100644 --- a/linebot/v3/insight/api/insight.py +++ b/linebot/v3/insight/api/insight.py @@ -52,9 +52,9 @@ def __init__(self, api_client=None): @validate_arguments def get_friends_demographics(self, **kwargs) -> GetFriendsDemographicsResponse: # noqa: E501 - """get_friends_demographics # noqa: E501 + """ - Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). # noqa: E501 + Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -79,9 +79,9 @@ def get_friends_demographics(self, **kwargs) -> GetFriendsDemographicsResponse: @validate_arguments def get_friends_demographics_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_friends_demographics # noqa: E501 + """ - Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). # noqa: E501 + Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -185,9 +185,9 @@ def get_friends_demographics_with_http_info(self, **kwargs) -> ApiResponse: # n @validate_arguments def get_message_event(self, request_id : Annotated[constr(strict=True, min_length=1), Field(..., description="Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID. ")], **kwargs) -> GetMessageEventResponse: # noqa: E501 - """Get user interaction statistics # noqa: E501 + """Get user interaction statistics - Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. # noqa: E501 + Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -214,9 +214,9 @@ def get_message_event(self, request_id : Annotated[constr(strict=True, min_lengt @validate_arguments def get_message_event_with_http_info(self, request_id : Annotated[constr(strict=True, min_length=1), Field(..., description="Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID. ")], **kwargs) -> ApiResponse: # noqa: E501 - """Get user interaction statistics # noqa: E501 + """Get user interaction statistics - Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. # noqa: E501 + Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -326,9 +326,9 @@ def get_message_event_with_http_info(self, request_id : Annotated[constr(strict= @validate_arguments def get_number_of_followers(self, var_date : Annotated[Optional[constr(strict=True, max_length=8, min_length=8)], Field(description="Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")] = None, **kwargs) -> GetNumberOfFollowersResponse: # noqa: E501 - """Get number of followers # noqa: E501 + """Get number of followers - Returns the number of users who have added the LINE Official Account on or before a specified date. # noqa: E501 + Returns the number of users who have added the LINE Official Account on or before a specified date. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -355,9 +355,9 @@ def get_number_of_followers(self, var_date : Annotated[Optional[constr(strict=Tr @validate_arguments def get_number_of_followers_with_http_info(self, var_date : Annotated[Optional[constr(strict=True, max_length=8, min_length=8)], Field(description="Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """Get number of followers # noqa: E501 + """Get number of followers - Returns the number of users who have added the LINE Official Account on or before a specified date. # noqa: E501 + Returns the number of users who have added the LINE Official Account on or before a specified date. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -467,9 +467,9 @@ def get_number_of_followers_with_http_info(self, var_date : Annotated[Optional[c @validate_arguments def get_number_of_message_deliveries(self, var_date : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9 ")], **kwargs) -> GetNumberOfMessageDeliveriesResponse: # noqa: E501 - """Get number of message deliveries # noqa: E501 + """Get number of message deliveries - Returns the number of messages sent from LINE Official Account on a specified day. # noqa: E501 + Returns the number of messages sent from LINE Official Account on a specified day. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -496,9 +496,9 @@ def get_number_of_message_deliveries(self, var_date : Annotated[constr(strict=Tr @validate_arguments def get_number_of_message_deliveries_with_http_info(self, var_date : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """Get number of message deliveries # noqa: E501 + """Get number of message deliveries - Returns the number of messages sent from LINE Official Account on a specified day. # noqa: E501 + Returns the number of messages sent from LINE Official Account on a specified day. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -608,9 +608,9 @@ def get_number_of_message_deliveries_with_http_info(self, var_date : Annotated[c @validate_arguments def get_statistics_per_unit(self, custom_aggregation_unit : Annotated[constr(strict=True, max_length=30, min_length=1), Field(..., description="Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names. ")], var_from : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], to : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], **kwargs) -> GetStatisticsPerUnitResponse: # noqa: E501 - """get_statistics_per_unit # noqa: E501 + """ - You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. # noqa: E501 + You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -641,9 +641,9 @@ def get_statistics_per_unit(self, custom_aggregation_unit : Annotated[constr(str @validate_arguments def get_statistics_per_unit_with_http_info(self, custom_aggregation_unit : Annotated[constr(strict=True, max_length=30, min_length=1), Field(..., description="Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names. ")], var_from : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], to : Annotated[constr(strict=True, max_length=8, min_length=8), Field(..., description="End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_statistics_per_unit # noqa: E501 + """ - You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. # noqa: E501 + You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/liff/api/async_liff.py b/linebot/v3/liff/api/async_liff.py index 9b9f591c6..174db3d77 100644 --- a/linebot/v3/liff/api/async_liff.py +++ b/linebot/v3/liff/api/async_liff.py @@ -59,14 +59,9 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Opti @validate_arguments def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Optional[bool]=None, **kwargs) -> Union[AddLiffAppResponse, Awaitable[AddLiffAppResponse]]: # noqa: E501 - """Create LIFF app # noqa: E501 + """Create LIFF app - Adding the LIFF app to a channel # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_liff_app(add_liff_app_request, async_req=True) - >>> result = thread.get() + Adding the LIFF app to a channel :param add_liff_app_request: (required) :type add_liff_app_request: AddLiffAppRequest @@ -77,8 +72,6 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Opti timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: AddLiffAppResponse """ kwargs['_return_http_data_only'] = True @@ -90,14 +83,9 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, async_req: Opti @validate_arguments def add_liff_app_with_http_info(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501 - """Create LIFF app # noqa: E501 - - Adding the LIFF app to a channel # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Create LIFF app - >>> thread = api.add_liff_app_with_http_info(add_liff_app_request, async_req=True) - >>> result = thread.get() + Adding the LIFF app to a channel :param add_liff_app_request: (required) :type add_liff_app_request: AddLiffAppRequest @@ -121,8 +109,6 @@ def add_liff_app_with_http_info(self, add_liff_app_request : AddLiffAppRequest, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(AddLiffAppResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -219,14 +205,9 @@ def delete_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= @validate_arguments def delete_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """Delete LIFF app from a channel # noqa: E501 + """Delete LIFF app from a channel - Deletes a LIFF app from a channel. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_liff_app(liff_id, async_req=True) - >>> result = thread.get() + Deletes a LIFF app from a channel. :param liff_id: ID of the LIFF app to be updated (required) :type liff_id: str @@ -237,8 +218,6 @@ def delete_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -250,14 +229,9 @@ def delete_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= @validate_arguments def delete_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], **kwargs) -> ApiResponse: # noqa: E501 - """Delete LIFF app from a channel # noqa: E501 - - Deletes a LIFF app from a channel. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Delete LIFF app from a channel - >>> thread = api.delete_liff_app_with_http_info(liff_id, async_req=True) - >>> result = thread.get() + Deletes a LIFF app from a channel. :param liff_id: ID of the LIFF app to be updated (required) :type liff_id: str @@ -281,8 +255,6 @@ def delete_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(.. :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -364,14 +336,9 @@ def get_all_liff_apps(self, async_req: Optional[bool]=True, **kwargs) -> GetAllL @validate_arguments def get_all_liff_apps(self, async_req: Optional[bool]=None, **kwargs) -> Union[GetAllLiffAppsResponse, Awaitable[GetAllLiffAppsResponse]]: # noqa: E501 - """Get all LIFF apps # noqa: E501 + """Get all LIFF apps - Gets information on all the LIFF apps added to the channel. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_all_liff_apps(async_req=True) - >>> result = thread.get() + Gets information on all the LIFF apps added to the channel. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -380,8 +347,6 @@ def get_all_liff_apps(self, async_req: Optional[bool]=None, **kwargs) -> Union[G timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetAllLiffAppsResponse """ kwargs['_return_http_data_only'] = True @@ -393,14 +358,9 @@ def get_all_liff_apps(self, async_req: Optional[bool]=None, **kwargs) -> Union[G @validate_arguments def get_all_liff_apps_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """Get all LIFF apps # noqa: E501 - - Gets information on all the LIFF apps added to the channel. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Get all LIFF apps - >>> thread = api.get_all_liff_apps_with_http_info(async_req=True) - >>> result = thread.get() + Gets information on all the LIFF apps added to the channel. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -422,8 +382,6 @@ def get_all_liff_apps_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E5 :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetAllLiffAppsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -509,14 +467,9 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= @validate_arguments def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """Update LIFF app from a channel # noqa: E501 + """Update LIFF app from a channel - Update LIFF app settings # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_liff_app(liff_id, update_liff_app_request, async_req=True) - >>> result = thread.get() + Update LIFF app settings :param liff_id: ID of the LIFF app to be updated (required) :type liff_id: str @@ -529,8 +482,6 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -542,14 +493,9 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= @validate_arguments def update_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501 - """Update LIFF app from a channel # noqa: E501 - - Update LIFF app settings # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """Update LIFF app from a channel - >>> thread = api.update_liff_app_with_http_info(liff_id, update_liff_app_request, async_req=True) - >>> result = thread.get() + Update LIFF app settings :param liff_id: ID of the LIFF app to be updated (required) :type liff_id: str @@ -575,8 +521,6 @@ def update_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(.. :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ diff --git a/linebot/v3/liff/api/liff.py b/linebot/v3/liff/api/liff.py index 7ce2b3a69..3e063b66a 100644 --- a/linebot/v3/liff/api/liff.py +++ b/linebot/v3/liff/api/liff.py @@ -49,9 +49,9 @@ def __init__(self, api_client=None): @validate_arguments def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> AddLiffAppResponse: # noqa: E501 - """Create LIFF app # noqa: E501 + """Create LIFF app - Adding the LIFF app to a channel # noqa: E501 + Adding the LIFF app to a channel This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -78,9 +78,9 @@ def add_liff_app(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> Ad @validate_arguments def add_liff_app_with_http_info(self, add_liff_app_request : AddLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501 - """Create LIFF app # noqa: E501 + """Create LIFF app - Adding the LIFF app to a channel # noqa: E501 + Adding the LIFF app to a channel This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -199,9 +199,9 @@ def add_liff_app_with_http_info(self, add_liff_app_request : AddLiffAppRequest, @validate_arguments def delete_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], **kwargs) -> None: # noqa: E501 - """Delete LIFF app from a channel # noqa: E501 + """Delete LIFF app from a channel - Deletes a LIFF app from a channel. # noqa: E501 + Deletes a LIFF app from a channel. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -228,9 +228,9 @@ def delete_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= @validate_arguments def delete_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], **kwargs) -> ApiResponse: # noqa: E501 - """Delete LIFF app from a channel # noqa: E501 + """Delete LIFF app from a channel - Deletes a LIFF app from a channel. # noqa: E501 + Deletes a LIFF app from a channel. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -334,9 +334,9 @@ def delete_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(.. @validate_arguments def get_all_liff_apps(self, **kwargs) -> GetAllLiffAppsResponse: # noqa: E501 - """Get all LIFF apps # noqa: E501 + """Get all LIFF apps - Gets information on all the LIFF apps added to the channel. # noqa: E501 + Gets information on all the LIFF apps added to the channel. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -361,9 +361,9 @@ def get_all_liff_apps(self, **kwargs) -> GetAllLiffAppsResponse: # noqa: E501 @validate_arguments def get_all_liff_apps_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """Get all LIFF apps # noqa: E501 + """Get all LIFF apps - Gets information on all the LIFF apps added to the channel. # noqa: E501 + Gets information on all the LIFF apps added to the channel. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -469,9 +469,9 @@ def get_all_liff_apps_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E5 @validate_arguments def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, **kwargs) -> None: # noqa: E501 - """Update LIFF app from a channel # noqa: E501 + """Update LIFF app from a channel - Update LIFF app settings # noqa: E501 + Update LIFF app settings This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -500,9 +500,9 @@ def update_liff_app(self, liff_id : Annotated[StrictStr, Field(..., description= @validate_arguments def update_liff_app_with_http_info(self, liff_id : Annotated[StrictStr, Field(..., description="ID of the LIFF app to be updated")], update_liff_app_request : UpdateLiffAppRequest, **kwargs) -> ApiResponse: # noqa: E501 - """Update LIFF app from a channel # noqa: E501 + """Update LIFF app from a channel - Update LIFF app settings # noqa: E501 + Update LIFF app settings This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/messaging/api/async_messaging_api.py b/linebot/v3/messaging/api/async_messaging_api.py index 433e7956e..3c1121ab2 100644 --- a/linebot/v3/messaging/api/async_messaging_api.py +++ b/linebot/v3/messaging/api/async_messaging_api.py @@ -108,14 +108,9 @@ def broadcast(self, broadcast_request : BroadcastRequest, x_line_retry_key : Ann @validate_arguments def broadcast(self, broadcast_request : BroadcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[object, Awaitable[object]]: # noqa: E501 - """broadcast # noqa: E501 - - Sends a message to multiple users at any time. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.broadcast(broadcast_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + Sends a message to multiple users at any time. :param broadcast_request: (required) :type broadcast_request: BroadcastRequest @@ -128,8 +123,6 @@ def broadcast(self, broadcast_request : BroadcastRequest, x_line_retry_key : Ann timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: object """ kwargs['_return_http_data_only'] = True @@ -141,14 +134,9 @@ def broadcast(self, broadcast_request : BroadcastRequest, x_line_retry_key : Ann @validate_arguments def broadcast_with_http_info(self, broadcast_request : BroadcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """broadcast # noqa: E501 - - Sends a message to multiple users at any time. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.broadcast_with_http_info(broadcast_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + Sends a message to multiple users at any time. :param broadcast_request: (required) :type broadcast_request: BroadcastRequest @@ -174,8 +162,6 @@ def broadcast_with_http_info(self, broadcast_request : BroadcastRequest, x_line_ :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ @@ -278,14 +264,9 @@ def cancel_default_rich_menu(self, async_req: Optional[bool]=True, **kwargs) -> @validate_arguments def cancel_default_rich_menu(self, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """cancel_default_rich_menu # noqa: E501 - - Cancel default rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.cancel_default_rich_menu(async_req=True) - >>> result = thread.get() + Cancel default rich menu :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -294,8 +275,6 @@ def cancel_default_rich_menu(self, async_req: Optional[bool]=None, **kwargs) -> timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -307,14 +286,9 @@ def cancel_default_rich_menu(self, async_req: Optional[bool]=None, **kwargs) -> @validate_arguments def cancel_default_rich_menu_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """cancel_default_rich_menu # noqa: E501 - - Cancel default rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.cancel_default_rich_menu_with_http_info(async_req=True) - >>> result = thread.get() + Cancel default rich menu :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -336,8 +310,6 @@ def cancel_default_rich_menu_with_http_info(self, **kwargs) -> ApiResponse: # n :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -415,14 +387,9 @@ def close_coupon(self, coupon_id : StrictStr, async_req: Optional[bool]=True, ** @validate_arguments def close_coupon(self, coupon_id : StrictStr, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """close_coupon # noqa: E501 - - Close coupon # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.close_coupon(coupon_id, async_req=True) - >>> result = thread.get() + Close coupon :param coupon_id: (required) :type coupon_id: str @@ -433,8 +400,6 @@ def close_coupon(self, coupon_id : StrictStr, async_req: Optional[bool]=None, ** timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -446,14 +411,9 @@ def close_coupon(self, coupon_id : StrictStr, async_req: Optional[bool]=None, ** @validate_arguments def close_coupon_with_http_info(self, coupon_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """close_coupon # noqa: E501 - - Close coupon # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.close_coupon_with_http_info(coupon_id, async_req=True) - >>> result = thread.get() + Close coupon :param coupon_id: (required) :type coupon_id: str @@ -477,8 +437,6 @@ def close_coupon_with_http_info(self, coupon_id : StrictStr, **kwargs) -> ApiRes :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -564,14 +522,9 @@ def create_coupon(self, coupon_create_request : Optional[CouponCreateRequest] = @validate_arguments def create_coupon(self, coupon_create_request : Optional[CouponCreateRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[CouponCreateResponse, Awaitable[CouponCreateResponse]]: # noqa: E501 - """create_coupon # noqa: E501 - - Create a new coupon. Define coupon details such as type, title, and validity period. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_coupon(coupon_create_request, async_req=True) - >>> result = thread.get() + Create a new coupon. Define coupon details such as type, title, and validity period. :param coupon_create_request: :type coupon_create_request: CouponCreateRequest @@ -582,8 +535,6 @@ def create_coupon(self, coupon_create_request : Optional[CouponCreateRequest] = timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: CouponCreateResponse """ kwargs['_return_http_data_only'] = True @@ -595,14 +546,9 @@ def create_coupon(self, coupon_create_request : Optional[CouponCreateRequest] = @validate_arguments def create_coupon_with_http_info(self, coupon_create_request : Optional[CouponCreateRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """create_coupon # noqa: E501 - - Create a new coupon. Define coupon details such as type, title, and validity period. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_coupon_with_http_info(coupon_create_request, async_req=True) - >>> result = thread.get() + Create a new coupon. Define coupon details such as type, title, and validity period. :param coupon_create_request: :type coupon_create_request: CouponCreateRequest @@ -626,8 +572,6 @@ def create_coupon_with_http_info(self, coupon_create_request : Optional[CouponCr :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(CouponCreateResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -723,14 +667,9 @@ def create_rich_menu(self, rich_menu_request : RichMenuRequest, async_req: Optio @validate_arguments def create_rich_menu(self, rich_menu_request : RichMenuRequest, async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuIdResponse, Awaitable[RichMenuIdResponse]]: # noqa: E501 - """create_rich_menu # noqa: E501 - - Create rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_rich_menu(rich_menu_request, async_req=True) - >>> result = thread.get() + Create rich menu :param rich_menu_request: (required) :type rich_menu_request: RichMenuRequest @@ -741,8 +680,6 @@ def create_rich_menu(self, rich_menu_request : RichMenuRequest, async_req: Optio timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuIdResponse """ kwargs['_return_http_data_only'] = True @@ -754,14 +691,9 @@ def create_rich_menu(self, rich_menu_request : RichMenuRequest, async_req: Optio @validate_arguments def create_rich_menu_with_http_info(self, rich_menu_request : RichMenuRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_rich_menu # noqa: E501 - - Create rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_rich_menu_with_http_info(rich_menu_request, async_req=True) - >>> result = thread.get() + Create rich menu :param rich_menu_request: (required) :type rich_menu_request: RichMenuRequest @@ -785,8 +717,6 @@ def create_rich_menu_with_http_info(self, rich_menu_request : RichMenuRequest, * :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuIdResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -881,14 +811,9 @@ def create_rich_menu_alias(self, create_rich_menu_alias_request : CreateRichMenu @validate_arguments def create_rich_menu_alias(self, create_rich_menu_alias_request : CreateRichMenuAliasRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """create_rich_menu_alias # noqa: E501 - - Create rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_rich_menu_alias(create_rich_menu_alias_request, async_req=True) - >>> result = thread.get() + Create rich menu alias :param create_rich_menu_alias_request: (required) :type create_rich_menu_alias_request: CreateRichMenuAliasRequest @@ -899,8 +824,6 @@ def create_rich_menu_alias(self, create_rich_menu_alias_request : CreateRichMenu timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -912,14 +835,9 @@ def create_rich_menu_alias(self, create_rich_menu_alias_request : CreateRichMenu @validate_arguments def create_rich_menu_alias_with_http_info(self, create_rich_menu_alias_request : CreateRichMenuAliasRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_rich_menu_alias # noqa: E501 - - Create rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.create_rich_menu_alias_with_http_info(create_rich_menu_alias_request, async_req=True) - >>> result = thread.get() + Create rich menu alias :param create_rich_menu_alias_request: (required) :type create_rich_menu_alias_request: CreateRichMenuAliasRequest @@ -943,8 +861,6 @@ def create_rich_menu_alias_with_http_info(self, create_rich_menu_alias_request : :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -1037,14 +953,9 @@ def delete_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descri @validate_arguments def delete_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """delete_rich_menu # noqa: E501 - - Deletes a rich menu. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.delete_rich_menu(rich_menu_id, async_req=True) - >>> result = thread.get() + Deletes a rich menu. :param rich_menu_id: ID of a rich menu (required) :type rich_menu_id: str @@ -1055,8 +966,6 @@ def delete_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descri timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -1068,14 +977,9 @@ def delete_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descri @validate_arguments def delete_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """delete_rich_menu # noqa: E501 - - Deletes a rich menu. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.delete_rich_menu_with_http_info(rich_menu_id, async_req=True) - >>> result = thread.get() + Deletes a rich menu. :param rich_menu_id: ID of a rich menu (required) :type rich_menu_id: str @@ -1099,8 +1003,6 @@ def delete_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Fi :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -1182,14 +1084,9 @@ def delete_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field @validate_arguments def delete_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="Rich menu alias ID that you want to delete.")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """delete_rich_menu_alias # noqa: E501 - - Delete rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.delete_rich_menu_alias(rich_menu_alias_id, async_req=True) - >>> result = thread.get() + Delete rich menu alias :param rich_menu_alias_id: Rich menu alias ID that you want to delete. (required) :type rich_menu_alias_id: str @@ -1200,8 +1097,6 @@ def delete_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -1213,14 +1108,9 @@ def delete_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field @validate_arguments def delete_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="Rich menu alias ID that you want to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """delete_rich_menu_alias # noqa: E501 - - Delete rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.delete_rich_menu_alias_with_http_info(rich_menu_alias_id, async_req=True) - >>> result = thread.get() + Delete rich menu alias :param rich_menu_alias_id: Rich menu alias ID that you want to delete. (required) :type rich_menu_alias_id: str @@ -1244,8 +1134,6 @@ def delete_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[S :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -1331,14 +1219,9 @@ def get_aggregation_unit_name_list(self, limit : Annotated[Optional[StrictStr], @validate_arguments def get_aggregation_unit_name_list(self, limit : Annotated[Optional[StrictStr], Field(description="The maximum number of aggregation units you can get per request. ")] = None, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetAggregationUnitNameListResponse, Awaitable[GetAggregationUnitNameListResponse]]: # noqa: E501 - """get_aggregation_unit_name_list # noqa: E501 - - Get name list of units used this month # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_aggregation_unit_name_list(limit, start, async_req=True) - >>> result = thread.get() + Get name list of units used this month :param limit: The maximum number of aggregation units you can get per request. :type limit: str @@ -1351,8 +1234,6 @@ def get_aggregation_unit_name_list(self, limit : Annotated[Optional[StrictStr], timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetAggregationUnitNameListResponse """ kwargs['_return_http_data_only'] = True @@ -1364,14 +1245,9 @@ def get_aggregation_unit_name_list(self, limit : Annotated[Optional[StrictStr], @validate_arguments def get_aggregation_unit_name_list_with_http_info(self, limit : Annotated[Optional[StrictStr], Field(description="The maximum number of aggregation units you can get per request. ")] = None, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_aggregation_unit_name_list # noqa: E501 - - Get name list of units used this month # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_aggregation_unit_name_list_with_http_info(limit, start, async_req=True) - >>> result = thread.get() + Get name list of units used this month :param limit: The maximum number of aggregation units you can get per request. :type limit: str @@ -1397,8 +1273,6 @@ def get_aggregation_unit_name_list_with_http_info(self, limit : Annotated[Option :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetAggregationUnitNameListResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1490,14 +1364,9 @@ def get_aggregation_unit_usage(self, async_req: Optional[bool]=True, **kwargs) - @validate_arguments def get_aggregation_unit_usage(self, async_req: Optional[bool]=None, **kwargs) -> Union[GetAggregationUnitUsageResponse, Awaitable[GetAggregationUnitUsageResponse]]: # noqa: E501 - """get_aggregation_unit_usage # noqa: E501 - - Get number of units used this month # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_aggregation_unit_usage(async_req=True) - >>> result = thread.get() + Get number of units used this month :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1506,8 +1375,6 @@ def get_aggregation_unit_usage(self, async_req: Optional[bool]=None, **kwargs) - timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetAggregationUnitUsageResponse """ kwargs['_return_http_data_only'] = True @@ -1519,14 +1386,9 @@ def get_aggregation_unit_usage(self, async_req: Optional[bool]=None, **kwargs) - @validate_arguments def get_aggregation_unit_usage_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_aggregation_unit_usage # noqa: E501 - - Get number of units used this month # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_aggregation_unit_usage_with_http_info(async_req=True) - >>> result = thread.get() + Get number of units used this month :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1548,8 +1410,6 @@ def get_aggregation_unit_usage_with_http_info(self, **kwargs) -> ApiResponse: # :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetAggregationUnitUsageResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1633,14 +1493,9 @@ def get_bot_info(self, async_req: Optional[bool]=True, **kwargs) -> BotInfoRespo @validate_arguments def get_bot_info(self, async_req: Optional[bool]=None, **kwargs) -> Union[BotInfoResponse, Awaitable[BotInfoResponse]]: # noqa: E501 - """get_bot_info # noqa: E501 - - Get bot info # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_bot_info(async_req=True) - >>> result = thread.get() + Get bot info :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1649,8 +1504,6 @@ def get_bot_info(self, async_req: Optional[bool]=None, **kwargs) -> Union[BotInf timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: BotInfoResponse """ kwargs['_return_http_data_only'] = True @@ -1662,14 +1515,9 @@ def get_bot_info(self, async_req: Optional[bool]=None, **kwargs) -> Union[BotInf @validate_arguments def get_bot_info_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_bot_info # noqa: E501 - - Get bot info # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_bot_info_with_http_info(async_req=True) - >>> result = thread.get() + Get bot info :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1691,8 +1539,6 @@ def get_bot_info_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(BotInfoResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1776,14 +1622,9 @@ def get_coupon_detail(self, coupon_id : StrictStr, async_req: Optional[bool]=Tru @validate_arguments def get_coupon_detail(self, coupon_id : StrictStr, async_req: Optional[bool]=None, **kwargs) -> Union[CouponResponse, Awaitable[CouponResponse]]: # noqa: E501 - """get_coupon_detail # noqa: E501 - - Get coupon detail # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_coupon_detail(coupon_id, async_req=True) - >>> result = thread.get() + Get coupon detail :param coupon_id: (required) :type coupon_id: str @@ -1794,8 +1635,6 @@ def get_coupon_detail(self, coupon_id : StrictStr, async_req: Optional[bool]=Non timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: CouponResponse """ kwargs['_return_http_data_only'] = True @@ -1807,14 +1646,9 @@ def get_coupon_detail(self, coupon_id : StrictStr, async_req: Optional[bool]=Non @validate_arguments def get_coupon_detail_with_http_info(self, coupon_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """get_coupon_detail # noqa: E501 - - Get coupon detail # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_coupon_detail_with_http_info(coupon_id, async_req=True) - >>> result = thread.get() + Get coupon detail :param coupon_id: (required) :type coupon_id: str @@ -1838,8 +1672,6 @@ def get_coupon_detail_with_http_info(self, coupon_id : StrictStr, **kwargs) -> A :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(CouponResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1929,14 +1761,9 @@ def get_default_rich_menu_id(self, async_req: Optional[bool]=True, **kwargs) -> @validate_arguments def get_default_rich_menu_id(self, async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuIdResponse, Awaitable[RichMenuIdResponse]]: # noqa: E501 - """get_default_rich_menu_id # noqa: E501 - - Gets the ID of the default rich menu set with the Messaging API. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_default_rich_menu_id(async_req=True) - >>> result = thread.get() + Gets the ID of the default rich menu set with the Messaging API. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1945,8 +1772,6 @@ def get_default_rich_menu_id(self, async_req: Optional[bool]=None, **kwargs) -> timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuIdResponse """ kwargs['_return_http_data_only'] = True @@ -1958,14 +1783,9 @@ def get_default_rich_menu_id(self, async_req: Optional[bool]=None, **kwargs) -> @validate_arguments def get_default_rich_menu_id_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_default_rich_menu_id # noqa: E501 - - Gets the ID of the default rich menu set with the Messaging API. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_default_rich_menu_id_with_http_info(async_req=True) - >>> result = thread.get() + Gets the ID of the default rich menu set with the Messaging API. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1987,8 +1807,6 @@ def get_default_rich_menu_id_with_http_info(self, **kwargs) -> ApiResponse: # n :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuIdResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -2072,14 +1890,9 @@ def get_followers(self, start : Annotated[Optional[StrictStr], Field(description @validate_arguments def get_followers(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000)], Field(description="The maximum number of user IDs to retrieve in a single request.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetFollowersResponse, Awaitable[GetFollowersResponse]]: # noqa: E501 - """get_followers # noqa: E501 - - Get a list of users who added your LINE Official Account as a friend # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_followers(start, limit, async_req=True) - >>> result = thread.get() + Get a list of users who added your LINE Official Account as a friend :param start: Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. :type start: str @@ -2092,8 +1905,6 @@ def get_followers(self, start : Annotated[Optional[StrictStr], Field(description timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetFollowersResponse """ kwargs['_return_http_data_only'] = True @@ -2105,14 +1916,9 @@ def get_followers(self, start : Annotated[Optional[StrictStr], Field(description @validate_arguments def get_followers_with_http_info(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000)], Field(description="The maximum number of user IDs to retrieve in a single request.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_followers # noqa: E501 - - Get a list of users who added your LINE Official Account as a friend # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_followers_with_http_info(start, limit, async_req=True) - >>> result = thread.get() + Get a list of users who added your LINE Official Account as a friend :param start: Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. :type start: str @@ -2138,8 +1944,6 @@ def get_followers_with_http_info(self, start : Annotated[Optional[StrictStr], Fi :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetFollowersResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -2231,14 +2035,9 @@ def get_group_member_count(self, group_id : Annotated[StrictStr, Field(..., desc @validate_arguments def get_group_member_count(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], async_req: Optional[bool]=None, **kwargs) -> Union[GroupMemberCountResponse, Awaitable[GroupMemberCountResponse]]: # noqa: E501 - """get_group_member_count # noqa: E501 - - Get number of users in a group chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_member_count(group_id, async_req=True) - >>> result = thread.get() + Get number of users in a group chat :param group_id: Group ID (required) :type group_id: str @@ -2249,8 +2048,6 @@ def get_group_member_count(self, group_id : Annotated[StrictStr, Field(..., desc timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GroupMemberCountResponse """ kwargs['_return_http_data_only'] = True @@ -2262,14 +2059,9 @@ def get_group_member_count(self, group_id : Annotated[StrictStr, Field(..., desc @validate_arguments def get_group_member_count_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_group_member_count # noqa: E501 - - Get number of users in a group chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_member_count_with_http_info(group_id, async_req=True) - >>> result = thread.get() + Get number of users in a group chat :param group_id: Group ID (required) :type group_id: str @@ -2293,8 +2085,6 @@ def get_group_member_count_with_http_info(self, group_id : Annotated[StrictStr, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GroupMemberCountResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -2382,14 +2172,9 @@ def get_group_member_profile(self, group_id : Annotated[StrictStr, Field(..., de @validate_arguments def get_group_member_profile(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], async_req: Optional[bool]=None, **kwargs) -> Union[GroupUserProfileResponse, Awaitable[GroupUserProfileResponse]]: # noqa: E501 - """get_group_member_profile # noqa: E501 - - Get group chat member profile # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_member_profile(group_id, user_id, async_req=True) - >>> result = thread.get() + Get group chat member profile :param group_id: Group ID (required) :type group_id: str @@ -2402,8 +2187,6 @@ def get_group_member_profile(self, group_id : Annotated[StrictStr, Field(..., de timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GroupUserProfileResponse """ kwargs['_return_http_data_only'] = True @@ -2415,14 +2198,9 @@ def get_group_member_profile(self, group_id : Annotated[StrictStr, Field(..., de @validate_arguments def get_group_member_profile_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_group_member_profile # noqa: E501 - - Get group chat member profile # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_member_profile_with_http_info(group_id, user_id, async_req=True) - >>> result = thread.get() + Get group chat member profile :param group_id: Group ID (required) :type group_id: str @@ -2448,8 +2226,6 @@ def get_group_member_profile_with_http_info(self, group_id : Annotated[StrictStr :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GroupUserProfileResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -2541,14 +2317,9 @@ def get_group_members_ids(self, group_id : Annotated[StrictStr, Field(..., descr @validate_arguments def get_group_members_ids(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[MembersIdsResponse, Awaitable[MembersIdsResponse]]: # noqa: E501 - """get_group_members_ids # noqa: E501 - - Get group chat member user IDs # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_members_ids(group_id, start, async_req=True) - >>> result = thread.get() + Get group chat member user IDs :param group_id: Group ID (required) :type group_id: str @@ -2561,8 +2332,6 @@ def get_group_members_ids(self, group_id : Annotated[StrictStr, Field(..., descr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: MembersIdsResponse """ kwargs['_return_http_data_only'] = True @@ -2574,14 +2343,9 @@ def get_group_members_ids(self, group_id : Annotated[StrictStr, Field(..., descr @validate_arguments def get_group_members_ids_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_group_members_ids # noqa: E501 - - Get group chat member user IDs # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_members_ids_with_http_info(group_id, start, async_req=True) - >>> result = thread.get() + Get group chat member user IDs :param group_id: Group ID (required) :type group_id: str @@ -2607,8 +2371,6 @@ def get_group_members_ids_with_http_info(self, group_id : Annotated[StrictStr, F :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(MembersIdsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -2700,14 +2462,9 @@ def get_group_summary(self, group_id : Annotated[StrictStr, Field(..., descripti @validate_arguments def get_group_summary(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], async_req: Optional[bool]=None, **kwargs) -> Union[GroupSummaryResponse, Awaitable[GroupSummaryResponse]]: # noqa: E501 - """get_group_summary # noqa: E501 - - Get group chat summary # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_summary(group_id, async_req=True) - >>> result = thread.get() + Get group chat summary :param group_id: Group ID (required) :type group_id: str @@ -2718,8 +2475,6 @@ def get_group_summary(self, group_id : Annotated[StrictStr, Field(..., descripti timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GroupSummaryResponse """ kwargs['_return_http_data_only'] = True @@ -2731,14 +2486,9 @@ def get_group_summary(self, group_id : Annotated[StrictStr, Field(..., descripti @validate_arguments def get_group_summary_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_group_summary # noqa: E501 - - Get group chat summary # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_group_summary_with_http_info(group_id, async_req=True) - >>> result = thread.get() + Get group chat summary :param group_id: Group ID (required) :type group_id: str @@ -2762,8 +2512,6 @@ def get_group_summary_with_http_info(self, group_id : Annotated[StrictStr, Field :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GroupSummaryResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -2851,14 +2599,9 @@ def get_joined_membership_users(self, membership_id : Annotated[StrictInt, Field @validate_arguments def get_joined_membership_users(self, membership_id : Annotated[StrictInt, Field(..., description="Membership plan ID.")], start : Annotated[Optional[StrictStr], Field(description="A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds). ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000, ge=1)], Field(description="The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetJoinedMembershipUsersResponse, Awaitable[GetJoinedMembershipUsersResponse]]: # noqa: E501 - """get_joined_membership_users # noqa: E501 - - Get a list of user IDs who joined the membership. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_joined_membership_users(membership_id, start, limit, async_req=True) - >>> result = thread.get() + Get a list of user IDs who joined the membership. :param membership_id: Membership plan ID. (required) :type membership_id: int @@ -2873,8 +2616,6 @@ def get_joined_membership_users(self, membership_id : Annotated[StrictInt, Field timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetJoinedMembershipUsersResponse """ kwargs['_return_http_data_only'] = True @@ -2886,14 +2627,9 @@ def get_joined_membership_users(self, membership_id : Annotated[StrictInt, Field @validate_arguments def get_joined_membership_users_with_http_info(self, membership_id : Annotated[StrictInt, Field(..., description="Membership plan ID.")], start : Annotated[Optional[StrictStr], Field(description="A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds). ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000, ge=1)], Field(description="The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_joined_membership_users # noqa: E501 - - Get a list of user IDs who joined the membership. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_joined_membership_users_with_http_info(membership_id, start, limit, async_req=True) - >>> result = thread.get() + Get a list of user IDs who joined the membership. :param membership_id: Membership plan ID. (required) :type membership_id: int @@ -2921,8 +2657,6 @@ def get_joined_membership_users_with_http_info(self, membership_id : Annotated[S :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetJoinedMembershipUsersResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3020,14 +2754,9 @@ def get_membership_list(self, async_req: Optional[bool]=True, **kwargs) -> Membe @validate_arguments def get_membership_list(self, async_req: Optional[bool]=None, **kwargs) -> Union[MembershipListResponse, Awaitable[MembershipListResponse]]: # noqa: E501 - """get_membership_list # noqa: E501 - - Get a list of memberships. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_membership_list(async_req=True) - >>> result = thread.get() + Get a list of memberships. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -3036,8 +2765,6 @@ def get_membership_list(self, async_req: Optional[bool]=None, **kwargs) -> Union timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: MembershipListResponse """ kwargs['_return_http_data_only'] = True @@ -3049,14 +2776,9 @@ def get_membership_list(self, async_req: Optional[bool]=None, **kwargs) -> Union @validate_arguments def get_membership_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_membership_list # noqa: E501 - - Get a list of memberships. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_membership_list_with_http_info(async_req=True) - >>> result = thread.get() + Get a list of memberships. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -3078,8 +2800,6 @@ def get_membership_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(MembershipListResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3164,14 +2884,9 @@ def get_membership_subscription(self, user_id : Annotated[StrictStr, Field(..., @validate_arguments def get_membership_subscription(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], async_req: Optional[bool]=None, **kwargs) -> Union[GetMembershipSubscriptionResponse, Awaitable[GetMembershipSubscriptionResponse]]: # noqa: E501 - """get_membership_subscription # noqa: E501 - - Get a user's membership subscription. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_membership_subscription(user_id, async_req=True) - >>> result = thread.get() + Get a user's membership subscription. :param user_id: User ID (required) :type user_id: str @@ -3182,8 +2897,6 @@ def get_membership_subscription(self, user_id : Annotated[StrictStr, Field(..., timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetMembershipSubscriptionResponse """ kwargs['_return_http_data_only'] = True @@ -3195,14 +2908,9 @@ def get_membership_subscription(self, user_id : Annotated[StrictStr, Field(..., @validate_arguments def get_membership_subscription_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_membership_subscription # noqa: E501 - - Get a user's membership subscription. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_membership_subscription_with_http_info(user_id, async_req=True) - >>> result = thread.get() + Get a user's membership subscription. :param user_id: User ID (required) :type user_id: str @@ -3226,8 +2934,6 @@ def get_membership_subscription_with_http_info(self, user_id : Annotated[StrictS :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetMembershipSubscriptionResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3317,14 +3023,9 @@ def get_message_quota(self, async_req: Optional[bool]=True, **kwargs) -> Message @validate_arguments def get_message_quota(self, async_req: Optional[bool]=None, **kwargs) -> Union[MessageQuotaResponse, Awaitable[MessageQuotaResponse]]: # noqa: E501 - """get_message_quota # noqa: E501 - - Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_quota(async_req=True) - >>> result = thread.get() + Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -3333,8 +3034,6 @@ def get_message_quota(self, async_req: Optional[bool]=None, **kwargs) -> Union[M timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: MessageQuotaResponse """ kwargs['_return_http_data_only'] = True @@ -3346,14 +3045,9 @@ def get_message_quota(self, async_req: Optional[bool]=None, **kwargs) -> Union[M @validate_arguments def get_message_quota_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_message_quota # noqa: E501 - - Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_quota_with_http_info(async_req=True) - >>> result = thread.get() + Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -3375,8 +3069,6 @@ def get_message_quota_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E5 :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(MessageQuotaResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3460,14 +3152,9 @@ def get_message_quota_consumption(self, async_req: Optional[bool]=True, **kwargs @validate_arguments def get_message_quota_consumption(self, async_req: Optional[bool]=None, **kwargs) -> Union[QuotaConsumptionResponse, Awaitable[QuotaConsumptionResponse]]: # noqa: E501 - """get_message_quota_consumption # noqa: E501 - - Gets the number of messages sent in the current month. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_quota_consumption(async_req=True) - >>> result = thread.get() + Gets the number of messages sent in the current month. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -3476,8 +3163,6 @@ def get_message_quota_consumption(self, async_req: Optional[bool]=None, **kwargs timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: QuotaConsumptionResponse """ kwargs['_return_http_data_only'] = True @@ -3489,14 +3174,9 @@ def get_message_quota_consumption(self, async_req: Optional[bool]=None, **kwargs @validate_arguments def get_message_quota_consumption_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_message_quota_consumption # noqa: E501 - - Gets the number of messages sent in the current month. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_quota_consumption_with_http_info(async_req=True) - >>> result = thread.get() + Gets the number of messages sent in the current month. :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -3518,8 +3198,6 @@ def get_message_quota_consumption_with_http_info(self, **kwargs) -> ApiResponse: :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(QuotaConsumptionResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3603,14 +3281,9 @@ def get_narrowcast_progress(self, request_id : Annotated[StrictStr, Field(..., d @validate_arguments def get_narrowcast_progress(self, request_id : Annotated[StrictStr, Field(..., description="The narrowcast message's request ID. Each Messaging API request has a request ID.")], async_req: Optional[bool]=None, **kwargs) -> Union[NarrowcastProgressResponse, Awaitable[NarrowcastProgressResponse]]: # noqa: E501 - """get_narrowcast_progress # noqa: E501 - - Gets the status of a narrowcast message. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_narrowcast_progress(request_id, async_req=True) - >>> result = thread.get() + Gets the status of a narrowcast message. :param request_id: The narrowcast message's request ID. Each Messaging API request has a request ID. (required) :type request_id: str @@ -3621,8 +3294,6 @@ def get_narrowcast_progress(self, request_id : Annotated[StrictStr, Field(..., d timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: NarrowcastProgressResponse """ kwargs['_return_http_data_only'] = True @@ -3634,14 +3305,9 @@ def get_narrowcast_progress(self, request_id : Annotated[StrictStr, Field(..., d @validate_arguments def get_narrowcast_progress_with_http_info(self, request_id : Annotated[StrictStr, Field(..., description="The narrowcast message's request ID. Each Messaging API request has a request ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_narrowcast_progress # noqa: E501 - - Gets the status of a narrowcast message. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_narrowcast_progress_with_http_info(request_id, async_req=True) - >>> result = thread.get() + Gets the status of a narrowcast message. :param request_id: The narrowcast message's request ID. Each Messaging API request has a request ID. (required) :type request_id: str @@ -3665,8 +3331,6 @@ def get_narrowcast_progress_with_http_info(self, request_id : Annotated[StrictSt :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(NarrowcastProgressResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3754,14 +3418,9 @@ def get_number_of_sent_broadcast_messages(self, var_date : Annotated[StrictStr, @validate_arguments def get_number_of_sent_broadcast_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[NumberOfMessagesResponse, Awaitable[NumberOfMessagesResponse]]: # noqa: E501 - """get_number_of_sent_broadcast_messages # noqa: E501 - - Get number of sent broadcast messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_broadcast_messages(var_date, async_req=True) - >>> result = thread.get() + Get number of sent broadcast messages :param var_date: Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 (required) :type var_date: str @@ -3772,8 +3431,6 @@ def get_number_of_sent_broadcast_messages(self, var_date : Annotated[StrictStr, timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: NumberOfMessagesResponse """ kwargs['_return_http_data_only'] = True @@ -3785,14 +3442,9 @@ def get_number_of_sent_broadcast_messages(self, var_date : Annotated[StrictStr, @validate_arguments def get_number_of_sent_broadcast_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_broadcast_messages # noqa: E501 - - Get number of sent broadcast messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_broadcast_messages_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Get number of sent broadcast messages :param var_date: Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 (required) :type var_date: str @@ -3816,8 +3468,6 @@ def get_number_of_sent_broadcast_messages_with_http_info(self, var_date : Annota :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(NumberOfMessagesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -3905,14 +3555,9 @@ def get_number_of_sent_multicast_messages(self, var_date : Annotated[StrictStr, @validate_arguments def get_number_of_sent_multicast_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[NumberOfMessagesResponse, Awaitable[NumberOfMessagesResponse]]: # noqa: E501 - """get_number_of_sent_multicast_messages # noqa: E501 - - Get number of sent multicast messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_multicast_messages(var_date, async_req=True) - >>> result = thread.get() + Get number of sent multicast messages :param var_date: Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 (required) :type var_date: str @@ -3923,8 +3568,6 @@ def get_number_of_sent_multicast_messages(self, var_date : Annotated[StrictStr, timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: NumberOfMessagesResponse """ kwargs['_return_http_data_only'] = True @@ -3936,14 +3579,9 @@ def get_number_of_sent_multicast_messages(self, var_date : Annotated[StrictStr, @validate_arguments def get_number_of_sent_multicast_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_multicast_messages # noqa: E501 - - Get number of sent multicast messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_multicast_messages_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Get number of sent multicast messages :param var_date: Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 (required) :type var_date: str @@ -3967,8 +3605,6 @@ def get_number_of_sent_multicast_messages_with_http_info(self, var_date : Annota :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(NumberOfMessagesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4056,14 +3692,9 @@ def get_number_of_sent_push_messages(self, var_date : Annotated[StrictStr, Field @validate_arguments def get_number_of_sent_push_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[NumberOfMessagesResponse, Awaitable[NumberOfMessagesResponse]]: # noqa: E501 - """get_number_of_sent_push_messages # noqa: E501 - - Get number of sent push messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_push_messages(var_date, async_req=True) - >>> result = thread.get() + Get number of sent push messages :param var_date: Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 (required) :type var_date: str @@ -4074,8 +3705,6 @@ def get_number_of_sent_push_messages(self, var_date : Annotated[StrictStr, Field timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: NumberOfMessagesResponse """ kwargs['_return_http_data_only'] = True @@ -4087,14 +3716,9 @@ def get_number_of_sent_push_messages(self, var_date : Annotated[StrictStr, Field @validate_arguments def get_number_of_sent_push_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_push_messages # noqa: E501 - - Get number of sent push messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_push_messages_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Get number of sent push messages :param var_date: Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 (required) :type var_date: str @@ -4118,8 +3742,6 @@ def get_number_of_sent_push_messages_with_http_info(self, var_date : Annotated[S :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(NumberOfMessagesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4207,14 +3829,9 @@ def get_number_of_sent_reply_messages(self, var_date : Annotated[StrictStr, Fiel @validate_arguments def get_number_of_sent_reply_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[NumberOfMessagesResponse, Awaitable[NumberOfMessagesResponse]]: # noqa: E501 - """get_number_of_sent_reply_messages # noqa: E501 - - Get number of sent reply messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_reply_messages(var_date, async_req=True) - >>> result = thread.get() + Get number of sent reply messages :param var_date: Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 (required) :type var_date: str @@ -4225,8 +3842,6 @@ def get_number_of_sent_reply_messages(self, var_date : Annotated[StrictStr, Fiel timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: NumberOfMessagesResponse """ kwargs['_return_http_data_only'] = True @@ -4238,14 +3853,9 @@ def get_number_of_sent_reply_messages(self, var_date : Annotated[StrictStr, Fiel @validate_arguments def get_number_of_sent_reply_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_reply_messages # noqa: E501 - - Get number of sent reply messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_number_of_sent_reply_messages_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Get number of sent reply messages :param var_date: Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 (required) :type var_date: str @@ -4269,8 +3879,6 @@ def get_number_of_sent_reply_messages_with_http_info(self, var_date : Annotated[ :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(NumberOfMessagesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4358,14 +3966,9 @@ def get_pnp_message_statistics(self, var_date : Annotated[constr(strict=True), F @validate_arguments def get_pnp_message_statistics(self, var_date : Annotated[constr(strict=True), Field(..., description="Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 ")], async_req: Optional[bool]=None, **kwargs) -> Union[NumberOfMessagesResponse, Awaitable[NumberOfMessagesResponse]]: # noqa: E501 - """get_pnp_message_statistics # noqa: E501 - - Get number of sent LINE notification messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_pnp_message_statistics(var_date, async_req=True) - >>> result = thread.get() + Get number of sent LINE notification messages :param var_date: Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 (required) :type var_date: str @@ -4376,8 +3979,6 @@ def get_pnp_message_statistics(self, var_date : Annotated[constr(strict=True), F timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: NumberOfMessagesResponse """ kwargs['_return_http_data_only'] = True @@ -4389,14 +3990,9 @@ def get_pnp_message_statistics(self, var_date : Annotated[constr(strict=True), F @validate_arguments def get_pnp_message_statistics_with_http_info(self, var_date : Annotated[constr(strict=True), Field(..., description="Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_pnp_message_statistics # noqa: E501 - - Get number of sent LINE notification messages # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_pnp_message_statistics_with_http_info(var_date, async_req=True) - >>> result = thread.get() + Get number of sent LINE notification messages :param var_date: Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 (required) :type var_date: str @@ -4420,8 +4016,6 @@ def get_pnp_message_statistics_with_http_info(self, var_date : Annotated[constr( :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(NumberOfMessagesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4509,14 +4103,9 @@ def get_profile(self, user_id : Annotated[StrictStr, Field(..., description="Use @validate_arguments def get_profile(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], async_req: Optional[bool]=None, **kwargs) -> Union[UserProfileResponse, Awaitable[UserProfileResponse]]: # noqa: E501 - """get_profile # noqa: E501 - - Get profile # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_profile(user_id, async_req=True) - >>> result = thread.get() + Get profile :param user_id: User ID (required) :type user_id: str @@ -4527,8 +4116,6 @@ def get_profile(self, user_id : Annotated[StrictStr, Field(..., description="Use timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: UserProfileResponse """ kwargs['_return_http_data_only'] = True @@ -4540,14 +4127,9 @@ def get_profile(self, user_id : Annotated[StrictStr, Field(..., description="Use @validate_arguments def get_profile_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_profile # noqa: E501 - - Get profile # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_profile_with_http_info(user_id, async_req=True) - >>> result = thread.get() + Get profile :param user_id: User ID (required) :type user_id: str @@ -4571,8 +4153,6 @@ def get_profile_with_http_info(self, user_id : Annotated[StrictStr, Field(..., d :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(UserProfileResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4660,14 +4240,9 @@ def get_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descripti @validate_arguments def get_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuResponse, Awaitable[RichMenuResponse]]: # noqa: E501 - """get_rich_menu # noqa: E501 - - Gets a rich menu via a rich menu ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu(rich_menu_id, async_req=True) - >>> result = thread.get() + Gets a rich menu via a rich menu ID. :param rich_menu_id: ID of a rich menu (required) :type rich_menu_id: str @@ -4678,8 +4253,6 @@ def get_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descripti timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuResponse """ kwargs['_return_http_data_only'] = True @@ -4691,14 +4264,9 @@ def get_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descripti @validate_arguments def get_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu # noqa: E501 - - Gets a rich menu via a rich menu ID. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_with_http_info(rich_menu_id, async_req=True) - >>> result = thread.get() + Gets a rich menu via a rich menu ID. :param rich_menu_id: ID of a rich menu (required) :type rich_menu_id: str @@ -4722,8 +4290,6 @@ def get_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4811,14 +4377,9 @@ def get_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(.. @validate_arguments def get_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID whose information you want to obtain.")], async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuAliasResponse, Awaitable[RichMenuAliasResponse]]: # noqa: E501 - """get_rich_menu_alias # noqa: E501 - - Get rich menu alias information # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_alias(rich_menu_alias_id, async_req=True) - >>> result = thread.get() + Get rich menu alias information :param rich_menu_alias_id: The rich menu alias ID whose information you want to obtain. (required) :type rich_menu_alias_id: str @@ -4829,8 +4390,6 @@ def get_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(.. timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuAliasResponse """ kwargs['_return_http_data_only'] = True @@ -4842,14 +4401,9 @@ def get_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(.. @validate_arguments def get_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID whose information you want to obtain.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_alias # noqa: E501 - - Get rich menu alias information # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_alias_with_http_info(rich_menu_alias_id, async_req=True) - >>> result = thread.get() + Get rich menu alias information :param rich_menu_alias_id: The rich menu alias ID whose information you want to obtain. (required) :type rich_menu_alias_id: str @@ -4873,8 +4427,6 @@ def get_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[Stri :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuAliasResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -4962,14 +4514,9 @@ def get_rich_menu_alias_list(self, async_req: Optional[bool]=True, **kwargs) -> @validate_arguments def get_rich_menu_alias_list(self, async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuAliasListResponse, Awaitable[RichMenuAliasListResponse]]: # noqa: E501 - """get_rich_menu_alias_list # noqa: E501 - - Get list of rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_alias_list(async_req=True) - >>> result = thread.get() + Get list of rich menu alias :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -4978,8 +4525,6 @@ def get_rich_menu_alias_list(self, async_req: Optional[bool]=None, **kwargs) -> timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuAliasListResponse """ kwargs['_return_http_data_only'] = True @@ -4991,14 +4536,9 @@ def get_rich_menu_alias_list(self, async_req: Optional[bool]=None, **kwargs) -> @validate_arguments def get_rich_menu_alias_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_alias_list # noqa: E501 - - Get list of rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_alias_list_with_http_info(async_req=True) - >>> result = thread.get() + Get list of rich menu alias :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -5020,8 +4560,6 @@ def get_rich_menu_alias_list_with_http_info(self, **kwargs) -> ApiResponse: # n :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuAliasListResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -5105,14 +4643,9 @@ def get_rich_menu_batch_progress(self, request_id : Annotated[StrictStr, Field(. @validate_arguments def get_rich_menu_batch_progress(self, request_id : Annotated[StrictStr, Field(..., description="A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.")], async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuBatchProgressResponse, Awaitable[RichMenuBatchProgressResponse]]: # noqa: E501 - """get_rich_menu_batch_progress # noqa: E501 - - Get the status of Replace or unlink a linked rich menus in batches. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_batch_progress(request_id, async_req=True) - >>> result = thread.get() + Get the status of Replace or unlink a linked rich menus in batches. :param request_id: A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID. (required) :type request_id: str @@ -5123,8 +4656,6 @@ def get_rich_menu_batch_progress(self, request_id : Annotated[StrictStr, Field(. timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuBatchProgressResponse """ kwargs['_return_http_data_only'] = True @@ -5136,14 +4667,9 @@ def get_rich_menu_batch_progress(self, request_id : Annotated[StrictStr, Field(. @validate_arguments def get_rich_menu_batch_progress_with_http_info(self, request_id : Annotated[StrictStr, Field(..., description="A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_batch_progress # noqa: E501 - - Get the status of Replace or unlink a linked rich menus in batches. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_batch_progress_with_http_info(request_id, async_req=True) - >>> result = thread.get() + Get the status of Replace or unlink a linked rich menus in batches. :param request_id: A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID. (required) :type request_id: str @@ -5167,8 +4693,6 @@ def get_rich_menu_batch_progress_with_http_info(self, request_id : Annotated[Str :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuBatchProgressResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -5256,14 +4780,9 @@ def get_rich_menu_id_of_user(self, user_id : Annotated[StrictStr, Field(..., des @validate_arguments def get_rich_menu_id_of_user(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuIdResponse, Awaitable[RichMenuIdResponse]]: # noqa: E501 - """get_rich_menu_id_of_user # noqa: E501 - - Get rich menu ID of user # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_id_of_user(user_id, async_req=True) - >>> result = thread.get() + Get rich menu ID of user :param user_id: User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -5274,8 +4793,6 @@ def get_rich_menu_id_of_user(self, user_id : Annotated[StrictStr, Field(..., des timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuIdResponse """ kwargs['_return_http_data_only'] = True @@ -5287,14 +4804,9 @@ def get_rich_menu_id_of_user(self, user_id : Annotated[StrictStr, Field(..., des @validate_arguments def get_rich_menu_id_of_user_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_id_of_user # noqa: E501 - - Get rich menu ID of user # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_id_of_user_with_http_info(user_id, async_req=True) - >>> result = thread.get() + Get rich menu ID of user :param user_id: User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -5318,8 +4830,6 @@ def get_rich_menu_id_of_user_with_http_info(self, user_id : Annotated[StrictStr, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuIdResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -5407,14 +4917,9 @@ def get_rich_menu_list(self, async_req: Optional[bool]=True, **kwargs) -> RichMe @validate_arguments def get_rich_menu_list(self, async_req: Optional[bool]=None, **kwargs) -> Union[RichMenuListResponse, Awaitable[RichMenuListResponse]]: # noqa: E501 - """get_rich_menu_list # noqa: E501 - - Get rich menu list # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_list(async_req=True) - >>> result = thread.get() + Get rich menu list :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -5423,8 +4928,6 @@ def get_rich_menu_list(self, async_req: Optional[bool]=None, **kwargs) -> Union[ timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RichMenuListResponse """ kwargs['_return_http_data_only'] = True @@ -5436,14 +4939,9 @@ def get_rich_menu_list(self, async_req: Optional[bool]=None, **kwargs) -> Union[ @validate_arguments def get_rich_menu_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_list # noqa: E501 - - Get rich menu list # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_list_with_http_info(async_req=True) - >>> result = thread.get() + Get rich menu list :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -5465,8 +4963,6 @@ def get_rich_menu_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RichMenuListResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -5550,14 +5046,9 @@ def get_room_member_count(self, room_id : Annotated[StrictStr, Field(..., descri @validate_arguments def get_room_member_count(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], async_req: Optional[bool]=None, **kwargs) -> Union[RoomMemberCountResponse, Awaitable[RoomMemberCountResponse]]: # noqa: E501 - """get_room_member_count # noqa: E501 - - Get number of users in a multi-person chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_room_member_count(room_id, async_req=True) - >>> result = thread.get() + Get number of users in a multi-person chat :param room_id: Room ID (required) :type room_id: str @@ -5568,8 +5059,6 @@ def get_room_member_count(self, room_id : Annotated[StrictStr, Field(..., descri timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RoomMemberCountResponse """ kwargs['_return_http_data_only'] = True @@ -5581,14 +5070,9 @@ def get_room_member_count(self, room_id : Annotated[StrictStr, Field(..., descri @validate_arguments def get_room_member_count_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_room_member_count # noqa: E501 - - Get number of users in a multi-person chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_room_member_count_with_http_info(room_id, async_req=True) - >>> result = thread.get() + Get number of users in a multi-person chat :param room_id: Room ID (required) :type room_id: str @@ -5612,8 +5096,6 @@ def get_room_member_count_with_http_info(self, room_id : Annotated[StrictStr, Fi :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RoomMemberCountResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -5701,14 +5183,9 @@ def get_room_member_profile(self, room_id : Annotated[StrictStr, Field(..., desc @validate_arguments def get_room_member_profile(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], async_req: Optional[bool]=None, **kwargs) -> Union[RoomUserProfileResponse, Awaitable[RoomUserProfileResponse]]: # noqa: E501 - """get_room_member_profile # noqa: E501 - - Get multi-person chat member profile # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_room_member_profile(room_id, user_id, async_req=True) - >>> result = thread.get() + Get multi-person chat member profile :param room_id: Room ID (required) :type room_id: str @@ -5721,8 +5198,6 @@ def get_room_member_profile(self, room_id : Annotated[StrictStr, Field(..., desc timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: RoomUserProfileResponse """ kwargs['_return_http_data_only'] = True @@ -5734,14 +5209,9 @@ def get_room_member_profile(self, room_id : Annotated[StrictStr, Field(..., desc @validate_arguments def get_room_member_profile_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_room_member_profile # noqa: E501 - - Get multi-person chat member profile # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_room_member_profile_with_http_info(room_id, user_id, async_req=True) - >>> result = thread.get() + Get multi-person chat member profile :param room_id: Room ID (required) :type room_id: str @@ -5767,8 +5237,6 @@ def get_room_member_profile_with_http_info(self, room_id : Annotated[StrictStr, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(RoomUserProfileResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -5860,14 +5328,9 @@ def get_room_members_ids(self, room_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def get_room_members_ids(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[MembersIdsResponse, Awaitable[MembersIdsResponse]]: # noqa: E501 - """get_room_members_ids # noqa: E501 - - Get multi-person chat member user IDs # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_room_members_ids(room_id, start, async_req=True) - >>> result = thread.get() + Get multi-person chat member user IDs :param room_id: Room ID (required) :type room_id: str @@ -5880,8 +5343,6 @@ def get_room_members_ids(self, room_id : Annotated[StrictStr, Field(..., descrip timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: MembersIdsResponse """ kwargs['_return_http_data_only'] = True @@ -5893,14 +5354,9 @@ def get_room_members_ids(self, room_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def get_room_members_ids_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_room_members_ids # noqa: E501 - - Get multi-person chat member user IDs # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_room_members_ids_with_http_info(room_id, start, async_req=True) - >>> result = thread.get() + Get multi-person chat member user IDs :param room_id: Room ID (required) :type room_id: str @@ -5926,8 +5382,6 @@ def get_room_members_ids_with_http_info(self, room_id : Annotated[StrictStr, Fie :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(MembersIdsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -6019,14 +5473,9 @@ def get_webhook_endpoint(self, async_req: Optional[bool]=True, **kwargs) -> GetW @validate_arguments def get_webhook_endpoint(self, async_req: Optional[bool]=None, **kwargs) -> Union[GetWebhookEndpointResponse, Awaitable[GetWebhookEndpointResponse]]: # noqa: E501 - """get_webhook_endpoint # noqa: E501 - - Get webhook endpoint information # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_webhook_endpoint(async_req=True) - >>> result = thread.get() + Get webhook endpoint information :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -6035,8 +5484,6 @@ def get_webhook_endpoint(self, async_req: Optional[bool]=None, **kwargs) -> Unio timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetWebhookEndpointResponse """ kwargs['_return_http_data_only'] = True @@ -6048,14 +5495,9 @@ def get_webhook_endpoint(self, async_req: Optional[bool]=None, **kwargs) -> Unio @validate_arguments def get_webhook_endpoint_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_webhook_endpoint # noqa: E501 - - Get webhook endpoint information # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_webhook_endpoint_with_http_info(async_req=True) - >>> result = thread.get() + Get webhook endpoint information :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -6077,8 +5519,6 @@ def get_webhook_endpoint_with_http_info(self, **kwargs) -> ApiResponse: # noqa: :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetWebhookEndpointResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -6162,14 +5602,9 @@ def issue_link_token(self, user_id : Annotated[StrictStr, Field(..., description @validate_arguments def issue_link_token(self, user_id : Annotated[StrictStr, Field(..., description="User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. ")], async_req: Optional[bool]=None, **kwargs) -> Union[IssueLinkTokenResponse, Awaitable[IssueLinkTokenResponse]]: # noqa: E501 - """issue_link_token # noqa: E501 - - Issue link token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.issue_link_token(user_id, async_req=True) - >>> result = thread.get() + Issue link token :param user_id: User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -6180,8 +5615,6 @@ def issue_link_token(self, user_id : Annotated[StrictStr, Field(..., description timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: IssueLinkTokenResponse """ kwargs['_return_http_data_only'] = True @@ -6193,14 +5626,9 @@ def issue_link_token(self, user_id : Annotated[StrictStr, Field(..., description @validate_arguments def issue_link_token_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. ")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_link_token # noqa: E501 - - Issue link token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.issue_link_token_with_http_info(user_id, async_req=True) - >>> result = thread.get() + Issue link token :param user_id: User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -6224,8 +5652,6 @@ def issue_link_token_with_http_info(self, user_id : Annotated[StrictStr, Field(. :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(IssueLinkTokenResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -6313,14 +5739,9 @@ def leave_group(self, group_id : Annotated[StrictStr, Field(..., description="Gr @validate_arguments def leave_group(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """leave_group # noqa: E501 - - Leave group chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.leave_group(group_id, async_req=True) - >>> result = thread.get() + Leave group chat :param group_id: Group ID (required) :type group_id: str @@ -6331,8 +5752,6 @@ def leave_group(self, group_id : Annotated[StrictStr, Field(..., description="Gr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -6344,14 +5763,9 @@ def leave_group(self, group_id : Annotated[StrictStr, Field(..., description="Gr @validate_arguments def leave_group_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> ApiResponse: # noqa: E501 - """leave_group # noqa: E501 - - Leave group chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.leave_group_with_http_info(group_id, async_req=True) - >>> result = thread.get() + Leave group chat :param group_id: Group ID (required) :type group_id: str @@ -6375,8 +5789,6 @@ def leave_group_with_http_info(self, group_id : Annotated[StrictStr, Field(..., :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -6462,14 +5874,9 @@ def leave_room(self, room_id : Annotated[StrictStr, Field(..., description="Room @validate_arguments def leave_room(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """leave_room # noqa: E501 - - Leave multi-person chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.leave_room(room_id, async_req=True) - >>> result = thread.get() + Leave multi-person chat :param room_id: Room ID (required) :type room_id: str @@ -6480,8 +5887,6 @@ def leave_room(self, room_id : Annotated[StrictStr, Field(..., description="Room timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -6493,14 +5898,9 @@ def leave_room(self, room_id : Annotated[StrictStr, Field(..., description="Room @validate_arguments def leave_room_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], **kwargs) -> ApiResponse: # noqa: E501 - """leave_room # noqa: E501 - - Leave multi-person chat # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.leave_room_with_http_info(room_id, async_req=True) - >>> result = thread.get() + Leave multi-person chat :param room_id: Room ID (required) :type room_id: str @@ -6524,8 +5924,6 @@ def leave_room_with_http_info(self, room_id : Annotated[StrictStr, Field(..., de :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -6607,14 +6005,9 @@ def link_rich_menu_id_to_user(self, user_id : Annotated[StrictStr, Field(..., de @validate_arguments def link_rich_menu_id_to_user(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """link_rich_menu_id_to_user # noqa: E501 - - Link rich menu to user. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.link_rich_menu_id_to_user(user_id, rich_menu_id, async_req=True) - >>> result = thread.get() + Link rich menu to user. :param user_id: User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -6627,8 +6020,6 @@ def link_rich_menu_id_to_user(self, user_id : Annotated[StrictStr, Field(..., de timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -6640,14 +6031,9 @@ def link_rich_menu_id_to_user(self, user_id : Annotated[StrictStr, Field(..., de @validate_arguments def link_rich_menu_id_to_user_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """link_rich_menu_id_to_user # noqa: E501 - - Link rich menu to user. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.link_rich_menu_id_to_user_with_http_info(user_id, rich_menu_id, async_req=True) - >>> result = thread.get() + Link rich menu to user. :param user_id: User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -6673,8 +6059,6 @@ def link_rich_menu_id_to_user_with_http_info(self, user_id : Annotated[StrictStr :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -6760,14 +6144,9 @@ def link_rich_menu_id_to_users(self, rich_menu_bulk_link_request : RichMenuBulkL @validate_arguments def link_rich_menu_id_to_users(self, rich_menu_bulk_link_request : RichMenuBulkLinkRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """link_rich_menu_id_to_users # noqa: E501 - - Link rich menu to multiple users # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.link_rich_menu_id_to_users(rich_menu_bulk_link_request, async_req=True) - >>> result = thread.get() + Link rich menu to multiple users :param rich_menu_bulk_link_request: (required) :type rich_menu_bulk_link_request: RichMenuBulkLinkRequest @@ -6778,8 +6157,6 @@ def link_rich_menu_id_to_users(self, rich_menu_bulk_link_request : RichMenuBulkL timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -6791,14 +6168,9 @@ def link_rich_menu_id_to_users(self, rich_menu_bulk_link_request : RichMenuBulkL @validate_arguments def link_rich_menu_id_to_users_with_http_info(self, rich_menu_bulk_link_request : RichMenuBulkLinkRequest, **kwargs) -> ApiResponse: # noqa: E501 - """link_rich_menu_id_to_users # noqa: E501 - - Link rich menu to multiple users # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.link_rich_menu_id_to_users_with_http_info(rich_menu_bulk_link_request, async_req=True) - >>> result = thread.get() + Link rich menu to multiple users :param rich_menu_bulk_link_request: (required) :type rich_menu_bulk_link_request: RichMenuBulkLinkRequest @@ -6822,8 +6194,6 @@ def link_rich_menu_id_to_users_with_http_info(self, rich_menu_bulk_link_request :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -6912,14 +6282,9 @@ def list_coupon(self, status : Annotated[Optional[conlist(StrictStr, unique_item @validate_arguments def list_coupon(self, status : Annotated[Optional[conlist(StrictStr, unique_items=True)], Field(description="Filter coupons by their status.")] = None, start : Annotated[Optional[StrictStr], Field(description="Pagination token to retrieve the next page of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=100, ge=1)], Field(description="Maximum number of coupons to return per request.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[MessagingApiPagerCouponListResponse, Awaitable[MessagingApiPagerCouponListResponse]]: # noqa: E501 - """list_coupon # noqa: E501 - - Get a paginated list of coupons. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.list_coupon(status, start, limit, async_req=True) - >>> result = thread.get() + Get a paginated list of coupons. :param status: Filter coupons by their status. :type status: List[str] @@ -6934,8 +6299,6 @@ def list_coupon(self, status : Annotated[Optional[conlist(StrictStr, unique_item timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: MessagingApiPagerCouponListResponse """ kwargs['_return_http_data_only'] = True @@ -6947,14 +6310,9 @@ def list_coupon(self, status : Annotated[Optional[conlist(StrictStr, unique_item @validate_arguments def list_coupon_with_http_info(self, status : Annotated[Optional[conlist(StrictStr, unique_items=True)], Field(description="Filter coupons by their status.")] = None, start : Annotated[Optional[StrictStr], Field(description="Pagination token to retrieve the next page of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=100, ge=1)], Field(description="Maximum number of coupons to return per request.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """list_coupon # noqa: E501 - - Get a paginated list of coupons. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.list_coupon_with_http_info(status, start, limit, async_req=True) - >>> result = thread.get() + Get a paginated list of coupons. :param status: Filter coupons by their status. :type status: List[str] @@ -6982,8 +6340,6 @@ def list_coupon_with_http_info(self, status : Annotated[Optional[conlist(StrictS :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(MessagingApiPagerCouponListResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -7081,14 +6437,9 @@ def mark_messages_as_read(self, mark_messages_as_read_request : MarkMessagesAsRe @validate_arguments def mark_messages_as_read(self, mark_messages_as_read_request : MarkMessagesAsReadRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """mark_messages_as_read # noqa: E501 - - Mark messages from users as read # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.mark_messages_as_read(mark_messages_as_read_request, async_req=True) - >>> result = thread.get() + Mark messages from users as read :param mark_messages_as_read_request: (required) :type mark_messages_as_read_request: MarkMessagesAsReadRequest @@ -7099,8 +6450,6 @@ def mark_messages_as_read(self, mark_messages_as_read_request : MarkMessagesAsRe timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -7112,14 +6461,9 @@ def mark_messages_as_read(self, mark_messages_as_read_request : MarkMessagesAsRe @validate_arguments def mark_messages_as_read_with_http_info(self, mark_messages_as_read_request : MarkMessagesAsReadRequest, **kwargs) -> ApiResponse: # noqa: E501 - """mark_messages_as_read # noqa: E501 - - Mark messages from users as read # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.mark_messages_as_read_with_http_info(mark_messages_as_read_request, async_req=True) - >>> result = thread.get() + Mark messages from users as read :param mark_messages_as_read_request: (required) :type mark_messages_as_read_request: MarkMessagesAsReadRequest @@ -7143,8 +6487,6 @@ def mark_messages_as_read_with_http_info(self, mark_messages_as_read_request : M :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -7233,14 +6575,9 @@ def mark_messages_as_read_by_token(self, mark_messages_as_read_by_token_request @validate_arguments def mark_messages_as_read_by_token(self, mark_messages_as_read_by_token_request : MarkMessagesAsReadByTokenRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """mark_messages_as_read_by_token # noqa: E501 - - Mark messages from users as read by token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.mark_messages_as_read_by_token(mark_messages_as_read_by_token_request, async_req=True) - >>> result = thread.get() + Mark messages from users as read by token :param mark_messages_as_read_by_token_request: (required) :type mark_messages_as_read_by_token_request: MarkMessagesAsReadByTokenRequest @@ -7251,8 +6588,6 @@ def mark_messages_as_read_by_token(self, mark_messages_as_read_by_token_request timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -7264,14 +6599,9 @@ def mark_messages_as_read_by_token(self, mark_messages_as_read_by_token_request @validate_arguments def mark_messages_as_read_by_token_with_http_info(self, mark_messages_as_read_by_token_request : MarkMessagesAsReadByTokenRequest, **kwargs) -> ApiResponse: # noqa: E501 - """mark_messages_as_read_by_token # noqa: E501 - - Mark messages from users as read by token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.mark_messages_as_read_by_token_with_http_info(mark_messages_as_read_by_token_request, async_req=True) - >>> result = thread.get() + Mark messages from users as read by token :param mark_messages_as_read_by_token_request: (required) :type mark_messages_as_read_by_token_request: MarkMessagesAsReadByTokenRequest @@ -7295,8 +6625,6 @@ def mark_messages_as_read_by_token_with_http_info(self, mark_messages_as_read_by :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -7389,14 +6717,9 @@ def multicast(self, multicast_request : MulticastRequest, x_line_retry_key : Ann @validate_arguments def multicast(self, multicast_request : MulticastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[object, Awaitable[object]]: # noqa: E501 - """multicast # noqa: E501 - - An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.multicast(multicast_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. :param multicast_request: (required) :type multicast_request: MulticastRequest @@ -7409,8 +6732,6 @@ def multicast(self, multicast_request : MulticastRequest, x_line_retry_key : Ann timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: object """ kwargs['_return_http_data_only'] = True @@ -7422,14 +6743,9 @@ def multicast(self, multicast_request : MulticastRequest, x_line_retry_key : Ann @validate_arguments def multicast_with_http_info(self, multicast_request : MulticastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """multicast # noqa: E501 - - An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.multicast_with_http_info(multicast_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. :param multicast_request: (required) :type multicast_request: MulticastRequest @@ -7455,8 +6771,6 @@ def multicast_with_http_info(self, multicast_request : MulticastRequest, x_line_ :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ @@ -7559,14 +6873,9 @@ def narrowcast(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : @validate_arguments def narrowcast(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[object, Awaitable[object]]: # noqa: E501 - """narrowcast # noqa: E501 - - Send narrowcast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.narrowcast(narrowcast_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + Send narrowcast message :param narrowcast_request: (required) :type narrowcast_request: NarrowcastRequest @@ -7579,8 +6888,6 @@ def narrowcast(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: object """ kwargs['_return_http_data_only'] = True @@ -7592,14 +6899,9 @@ def narrowcast(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : @validate_arguments def narrowcast_with_http_info(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """narrowcast # noqa: E501 - - Send narrowcast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.narrowcast_with_http_info(narrowcast_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + Send narrowcast message :param narrowcast_request: (required) :type narrowcast_request: NarrowcastRequest @@ -7625,8 +6927,6 @@ def narrowcast_with_http_info(self, narrowcast_request : NarrowcastRequest, x_li :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ @@ -7729,14 +7029,9 @@ def push_message(self, push_message_request : PushMessageRequest, x_line_retry_k @validate_arguments def push_message(self, push_message_request : PushMessageRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PushMessageResponse, Awaitable[PushMessageResponse]]: # noqa: E501 - """push_message # noqa: E501 - - Sends a message to a user, group chat, or multi-person chat at any time. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.push_message(push_message_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + Sends a message to a user, group chat, or multi-person chat at any time. :param push_message_request: (required) :type push_message_request: PushMessageRequest @@ -7749,8 +7044,6 @@ def push_message(self, push_message_request : PushMessageRequest, x_line_retry_k timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: PushMessageResponse """ kwargs['_return_http_data_only'] = True @@ -7762,14 +7055,9 @@ def push_message(self, push_message_request : PushMessageRequest, x_line_retry_k @validate_arguments def push_message_with_http_info(self, push_message_request : PushMessageRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """push_message # noqa: E501 - - Sends a message to a user, group chat, or multi-person chat at any time. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.push_message_with_http_info(push_message_request, x_line_retry_key, async_req=True) - >>> result = thread.get() + Sends a message to a user, group chat, or multi-person chat at any time. :param push_message_request: (required) :type push_message_request: PushMessageRequest @@ -7795,8 +7083,6 @@ def push_message_with_http_info(self, push_message_request : PushMessageRequest, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(PushMessageResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -7899,14 +7185,9 @@ def push_messages_by_phone(self, pnp_messages_request : PnpMessagesRequest, x_li @validate_arguments def push_messages_by_phone(self, pnp_messages_request : PnpMessagesRequest, x_line_delivery_tag : Annotated[Optional[constr(strict=True, max_length=100, min_length=16)], Field(description="String returned in the delivery.data property of the delivery completion event via Webhook.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """push_messages_by_phone # noqa: E501 - - Send LINE notification message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.push_messages_by_phone(pnp_messages_request, x_line_delivery_tag, async_req=True) - >>> result = thread.get() + Send LINE notification message :param pnp_messages_request: (required) :type pnp_messages_request: PnpMessagesRequest @@ -7919,8 +7200,6 @@ def push_messages_by_phone(self, pnp_messages_request : PnpMessagesRequest, x_li timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -7932,14 +7211,9 @@ def push_messages_by_phone(self, pnp_messages_request : PnpMessagesRequest, x_li @validate_arguments def push_messages_by_phone_with_http_info(self, pnp_messages_request : PnpMessagesRequest, x_line_delivery_tag : Annotated[Optional[constr(strict=True, max_length=100, min_length=16)], Field(description="String returned in the delivery.data property of the delivery completion event via Webhook.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """push_messages_by_phone # noqa: E501 - - Send LINE notification message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.push_messages_by_phone_with_http_info(pnp_messages_request, x_line_delivery_tag, async_req=True) - >>> result = thread.get() + Send LINE notification message :param pnp_messages_request: (required) :type pnp_messages_request: PnpMessagesRequest @@ -7965,8 +7239,6 @@ def push_messages_by_phone_with_http_info(self, pnp_messages_request : PnpMessag :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -8063,14 +7335,9 @@ def reply_message(self, reply_message_request : ReplyMessageRequest, async_req: @validate_arguments def reply_message(self, reply_message_request : ReplyMessageRequest, async_req: Optional[bool]=None, **kwargs) -> Union[ReplyMessageResponse, Awaitable[ReplyMessageResponse]]: # noqa: E501 - """reply_message # noqa: E501 - - Send reply message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.reply_message(reply_message_request, async_req=True) - >>> result = thread.get() + Send reply message :param reply_message_request: (required) :type reply_message_request: ReplyMessageRequest @@ -8081,8 +7348,6 @@ def reply_message(self, reply_message_request : ReplyMessageRequest, async_req: timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: ReplyMessageResponse """ kwargs['_return_http_data_only'] = True @@ -8094,14 +7359,9 @@ def reply_message(self, reply_message_request : ReplyMessageRequest, async_req: @validate_arguments def reply_message_with_http_info(self, reply_message_request : ReplyMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """reply_message # noqa: E501 - - Send reply message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.reply_message_with_http_info(reply_message_request, async_req=True) - >>> result = thread.get() + Send reply message :param reply_message_request: (required) :type reply_message_request: ReplyMessageRequest @@ -8125,8 +7385,6 @@ def reply_message_with_http_info(self, reply_message_request : ReplyMessageReque :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(ReplyMessageResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -8223,14 +7481,9 @@ def rich_menu_batch(self, rich_menu_batch_request : RichMenuBatchRequest, async_ @validate_arguments def rich_menu_batch(self, rich_menu_batch_request : RichMenuBatchRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """rich_menu_batch # noqa: E501 - - You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.rich_menu_batch(rich_menu_batch_request, async_req=True) - >>> result = thread.get() + You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu :param rich_menu_batch_request: (required) :type rich_menu_batch_request: RichMenuBatchRequest @@ -8241,8 +7494,6 @@ def rich_menu_batch(self, rich_menu_batch_request : RichMenuBatchRequest, async_ timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -8254,14 +7505,9 @@ def rich_menu_batch(self, rich_menu_batch_request : RichMenuBatchRequest, async_ @validate_arguments def rich_menu_batch_with_http_info(self, rich_menu_batch_request : RichMenuBatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """rich_menu_batch # noqa: E501 - - You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.rich_menu_batch_with_http_info(rich_menu_batch_request, async_req=True) - >>> result = thread.get() + You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu :param rich_menu_batch_request: (required) :type rich_menu_batch_request: RichMenuBatchRequest @@ -8285,8 +7531,6 @@ def rich_menu_batch_with_http_info(self, rich_menu_batch_request : RichMenuBatch :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -8375,14 +7619,9 @@ def set_default_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., d @validate_arguments def set_default_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """set_default_rich_menu # noqa: E501 - - Set default rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.set_default_rich_menu(rich_menu_id, async_req=True) - >>> result = thread.get() + Set default rich menu :param rich_menu_id: ID of a rich menu (required) :type rich_menu_id: str @@ -8393,8 +7632,6 @@ def set_default_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., d timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -8406,14 +7643,9 @@ def set_default_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., d @validate_arguments def set_default_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """set_default_rich_menu # noqa: E501 - - Set default rich menu # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.set_default_rich_menu_with_http_info(rich_menu_id, async_req=True) - >>> result = thread.get() + Set default rich menu :param rich_menu_id: ID of a rich menu (required) :type rich_menu_id: str @@ -8437,8 +7669,6 @@ def set_default_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictSt :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -8520,14 +7750,9 @@ def set_webhook_endpoint(self, set_webhook_endpoint_request : SetWebhookEndpoint @validate_arguments def set_webhook_endpoint(self, set_webhook_endpoint_request : SetWebhookEndpointRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """set_webhook_endpoint # noqa: E501 - - Set webhook endpoint URL # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.set_webhook_endpoint(set_webhook_endpoint_request, async_req=True) - >>> result = thread.get() + Set webhook endpoint URL :param set_webhook_endpoint_request: (required) :type set_webhook_endpoint_request: SetWebhookEndpointRequest @@ -8538,8 +7763,6 @@ def set_webhook_endpoint(self, set_webhook_endpoint_request : SetWebhookEndpoint timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -8551,14 +7774,9 @@ def set_webhook_endpoint(self, set_webhook_endpoint_request : SetWebhookEndpoint @validate_arguments def set_webhook_endpoint_with_http_info(self, set_webhook_endpoint_request : SetWebhookEndpointRequest, **kwargs) -> ApiResponse: # noqa: E501 - """set_webhook_endpoint # noqa: E501 - - Set webhook endpoint URL # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.set_webhook_endpoint_with_http_info(set_webhook_endpoint_request, async_req=True) - >>> result = thread.get() + Set webhook endpoint URL :param set_webhook_endpoint_request: (required) :type set_webhook_endpoint_request: SetWebhookEndpointRequest @@ -8582,8 +7800,6 @@ def set_webhook_endpoint_with_http_info(self, set_webhook_endpoint_request : Set :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -8672,14 +7888,9 @@ def show_loading_animation(self, show_loading_animation_request : ShowLoadingAni @validate_arguments def show_loading_animation(self, show_loading_animation_request : ShowLoadingAnimationRequest, async_req: Optional[bool]=None, **kwargs) -> Union[object, Awaitable[object]]: # noqa: E501 - """show_loading_animation # noqa: E501 - - Display a loading animation in one-on-one chats between users and LINE Official Accounts. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.show_loading_animation(show_loading_animation_request, async_req=True) - >>> result = thread.get() + Display a loading animation in one-on-one chats between users and LINE Official Accounts. :param show_loading_animation_request: (required) :type show_loading_animation_request: ShowLoadingAnimationRequest @@ -8690,8 +7901,6 @@ def show_loading_animation(self, show_loading_animation_request : ShowLoadingAni timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: object """ kwargs['_return_http_data_only'] = True @@ -8703,14 +7912,9 @@ def show_loading_animation(self, show_loading_animation_request : ShowLoadingAni @validate_arguments def show_loading_animation_with_http_info(self, show_loading_animation_request : ShowLoadingAnimationRequest, **kwargs) -> ApiResponse: # noqa: E501 - """show_loading_animation # noqa: E501 - - Display a loading animation in one-on-one chats between users and LINE Official Accounts. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.show_loading_animation_with_http_info(show_loading_animation_request, async_req=True) - >>> result = thread.get() + Display a loading animation in one-on-one chats between users and LINE Official Accounts. :param show_loading_animation_request: (required) :type show_loading_animation_request: ShowLoadingAnimationRequest @@ -8734,8 +7938,6 @@ def show_loading_animation_with_http_info(self, show_loading_animation_request : :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ @@ -8831,14 +8033,9 @@ def test_webhook_endpoint(self, test_webhook_endpoint_request : Optional[TestWeb @validate_arguments def test_webhook_endpoint(self, test_webhook_endpoint_request : Optional[TestWebhookEndpointRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[TestWebhookEndpointResponse, Awaitable[TestWebhookEndpointResponse]]: # noqa: E501 - """test_webhook_endpoint # noqa: E501 - - Test webhook endpoint # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.test_webhook_endpoint(test_webhook_endpoint_request, async_req=True) - >>> result = thread.get() + Test webhook endpoint :param test_webhook_endpoint_request: :type test_webhook_endpoint_request: TestWebhookEndpointRequest @@ -8849,8 +8046,6 @@ def test_webhook_endpoint(self, test_webhook_endpoint_request : Optional[TestWeb timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: TestWebhookEndpointResponse """ kwargs['_return_http_data_only'] = True @@ -8862,14 +8057,9 @@ def test_webhook_endpoint(self, test_webhook_endpoint_request : Optional[TestWeb @validate_arguments def test_webhook_endpoint_with_http_info(self, test_webhook_endpoint_request : Optional[TestWebhookEndpointRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """test_webhook_endpoint # noqa: E501 - - Test webhook endpoint # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.test_webhook_endpoint_with_http_info(test_webhook_endpoint_request, async_req=True) - >>> result = thread.get() + Test webhook endpoint :param test_webhook_endpoint_request: :type test_webhook_endpoint_request: TestWebhookEndpointRequest @@ -8893,8 +8083,6 @@ def test_webhook_endpoint_with_http_info(self, test_webhook_endpoint_request : O :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(TestWebhookEndpointResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -8989,14 +8177,9 @@ def unlink_rich_menu_id_from_user(self, user_id : Annotated[StrictStr, Field(... @validate_arguments def unlink_rich_menu_id_from_user(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """unlink_rich_menu_id_from_user # noqa: E501 - - Unlink rich menu from user # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.unlink_rich_menu_id_from_user(user_id, async_req=True) - >>> result = thread.get() + Unlink rich menu from user :param user_id: User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -9007,8 +8190,6 @@ def unlink_rich_menu_id_from_user(self, user_id : Annotated[StrictStr, Field(... timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9020,14 +8201,9 @@ def unlink_rich_menu_id_from_user(self, user_id : Annotated[StrictStr, Field(... @validate_arguments def unlink_rich_menu_id_from_user_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], **kwargs) -> ApiResponse: # noqa: E501 - """unlink_rich_menu_id_from_user # noqa: E501 - - Unlink rich menu from user # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.unlink_rich_menu_id_from_user_with_http_info(user_id, async_req=True) - >>> result = thread.get() + Unlink rich menu from user :param user_id: User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (required) :type user_id: str @@ -9051,8 +8227,6 @@ def unlink_rich_menu_id_from_user_with_http_info(self, user_id : Annotated[Stric :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -9134,14 +8308,9 @@ def unlink_rich_menu_id_from_users(self, rich_menu_bulk_unlink_request : RichMen @validate_arguments def unlink_rich_menu_id_from_users(self, rich_menu_bulk_unlink_request : RichMenuBulkUnlinkRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """unlink_rich_menu_id_from_users # noqa: E501 - - Unlink rich menus from multiple users # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.unlink_rich_menu_id_from_users(rich_menu_bulk_unlink_request, async_req=True) - >>> result = thread.get() + Unlink rich menus from multiple users :param rich_menu_bulk_unlink_request: (required) :type rich_menu_bulk_unlink_request: RichMenuBulkUnlinkRequest @@ -9152,8 +8321,6 @@ def unlink_rich_menu_id_from_users(self, rich_menu_bulk_unlink_request : RichMen timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9165,14 +8332,9 @@ def unlink_rich_menu_id_from_users(self, rich_menu_bulk_unlink_request : RichMen @validate_arguments def unlink_rich_menu_id_from_users_with_http_info(self, rich_menu_bulk_unlink_request : RichMenuBulkUnlinkRequest, **kwargs) -> ApiResponse: # noqa: E501 - """unlink_rich_menu_id_from_users # noqa: E501 - - Unlink rich menus from multiple users # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.unlink_rich_menu_id_from_users_with_http_info(rich_menu_bulk_unlink_request, async_req=True) - >>> result = thread.get() + Unlink rich menus from multiple users :param rich_menu_bulk_unlink_request: (required) :type rich_menu_bulk_unlink_request: RichMenuBulkUnlinkRequest @@ -9196,8 +8358,6 @@ def unlink_rich_menu_id_from_users_with_http_info(self, rich_menu_bulk_unlink_re :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -9286,14 +8446,9 @@ def update_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field @validate_arguments def update_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID you want to update.")], update_rich_menu_alias_request : UpdateRichMenuAliasRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """update_rich_menu_alias # noqa: E501 - - Update rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.update_rich_menu_alias(rich_menu_alias_id, update_rich_menu_alias_request, async_req=True) - >>> result = thread.get() + Update rich menu alias :param rich_menu_alias_id: The rich menu alias ID you want to update. (required) :type rich_menu_alias_id: str @@ -9306,8 +8461,6 @@ def update_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9319,14 +8472,9 @@ def update_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field @validate_arguments def update_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID you want to update.")], update_rich_menu_alias_request : UpdateRichMenuAliasRequest, **kwargs) -> ApiResponse: # noqa: E501 - """update_rich_menu_alias # noqa: E501 - - Update rich menu alias # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.update_rich_menu_alias_with_http_info(rich_menu_alias_id, update_rich_menu_alias_request, async_req=True) - >>> result = thread.get() + Update rich menu alias :param rich_menu_alias_id: The rich menu alias ID you want to update. (required) :type rich_menu_alias_id: str @@ -9352,8 +8500,6 @@ def update_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[S :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -9450,14 +8596,9 @@ def validate_broadcast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_broadcast(self, validate_message_request : ValidateMessageRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_broadcast # noqa: E501 - - Validate message objects of a broadcast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_broadcast(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a broadcast message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9468,8 +8609,6 @@ def validate_broadcast(self, validate_message_request : ValidateMessageRequest, timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9481,14 +8620,9 @@ def validate_broadcast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_broadcast_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_broadcast # noqa: E501 - - Validate message objects of a broadcast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_broadcast_with_http_info(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a broadcast message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9512,8 +8646,6 @@ def validate_broadcast_with_http_info(self, validate_message_request : ValidateM :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -9602,14 +8734,9 @@ def validate_multicast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_multicast(self, validate_message_request : ValidateMessageRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_multicast # noqa: E501 - - Validate message objects of a multicast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_multicast(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a multicast message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9620,8 +8747,6 @@ def validate_multicast(self, validate_message_request : ValidateMessageRequest, timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9633,14 +8758,9 @@ def validate_multicast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_multicast_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_multicast # noqa: E501 - - Validate message objects of a multicast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_multicast_with_http_info(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a multicast message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9664,8 +8784,6 @@ def validate_multicast_with_http_info(self, validate_message_request : ValidateM :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -9754,14 +8872,9 @@ def validate_narrowcast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_narrowcast(self, validate_message_request : ValidateMessageRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_narrowcast # noqa: E501 - - Validate message objects of a narrowcast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_narrowcast(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a narrowcast message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9772,8 +8885,6 @@ def validate_narrowcast(self, validate_message_request : ValidateMessageRequest, timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9785,14 +8896,9 @@ def validate_narrowcast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_narrowcast_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_narrowcast # noqa: E501 - - Validate message objects of a narrowcast message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_narrowcast_with_http_info(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a narrowcast message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9816,8 +8922,6 @@ def validate_narrowcast_with_http_info(self, validate_message_request : Validate :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -9906,14 +9010,9 @@ def validate_push(self, validate_message_request : ValidateMessageRequest, async @validate_arguments def validate_push(self, validate_message_request : ValidateMessageRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_push # noqa: E501 - - Validate message objects of a push message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_push(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a push message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9924,8 +9023,6 @@ def validate_push(self, validate_message_request : ValidateMessageRequest, async timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -9937,14 +9034,9 @@ def validate_push(self, validate_message_request : ValidateMessageRequest, async @validate_arguments def validate_push_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_push # noqa: E501 - - Validate message objects of a push message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_push_with_http_info(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a push message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -9968,8 +9060,6 @@ def validate_push_with_http_info(self, validate_message_request : ValidateMessag :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -10058,14 +9148,9 @@ def validate_reply(self, validate_message_request : ValidateMessageRequest, asyn @validate_arguments def validate_reply(self, validate_message_request : ValidateMessageRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_reply # noqa: E501 - - Validate message objects of a reply message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_reply(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a reply message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -10076,8 +9161,6 @@ def validate_reply(self, validate_message_request : ValidateMessageRequest, asyn timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -10089,14 +9172,9 @@ def validate_reply(self, validate_message_request : ValidateMessageRequest, asyn @validate_arguments def validate_reply_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_reply # noqa: E501 - - Validate message objects of a reply message # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_reply_with_http_info(validate_message_request, async_req=True) - >>> result = thread.get() + Validate message objects of a reply message :param validate_message_request: (required) :type validate_message_request: ValidateMessageRequest @@ -10120,8 +9198,6 @@ def validate_reply_with_http_info(self, validate_message_request : ValidateMessa :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -10210,14 +9286,9 @@ def validate_rich_menu_batch_request(self, rich_menu_batch_request : RichMenuBat @validate_arguments def validate_rich_menu_batch_request(self, rich_menu_batch_request : RichMenuBatchRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_rich_menu_batch_request # noqa: E501 - - Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_rich_menu_batch_request(rich_menu_batch_request, async_req=True) - >>> result = thread.get() + Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. :param rich_menu_batch_request: (required) :type rich_menu_batch_request: RichMenuBatchRequest @@ -10228,8 +9299,6 @@ def validate_rich_menu_batch_request(self, rich_menu_batch_request : RichMenuBat timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -10241,14 +9310,9 @@ def validate_rich_menu_batch_request(self, rich_menu_batch_request : RichMenuBat @validate_arguments def validate_rich_menu_batch_request_with_http_info(self, rich_menu_batch_request : RichMenuBatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_rich_menu_batch_request # noqa: E501 - - Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_rich_menu_batch_request_with_http_info(rich_menu_batch_request, async_req=True) - >>> result = thread.get() + Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. :param rich_menu_batch_request: (required) :type rich_menu_batch_request: RichMenuBatchRequest @@ -10272,8 +9336,6 @@ def validate_rich_menu_batch_request_with_http_info(self, rich_menu_batch_reques :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -10362,14 +9424,9 @@ def validate_rich_menu_object(self, rich_menu_request : RichMenuRequest, async_r @validate_arguments def validate_rich_menu_object(self, rich_menu_request : RichMenuRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """validate_rich_menu_object # noqa: E501 - - Validate rich menu object # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_rich_menu_object(rich_menu_request, async_req=True) - >>> result = thread.get() + Validate rich menu object :param rich_menu_request: (required) :type rich_menu_request: RichMenuRequest @@ -10380,8 +9437,6 @@ def validate_rich_menu_object(self, rich_menu_request : RichMenuRequest, async_r timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -10393,14 +9448,9 @@ def validate_rich_menu_object(self, rich_menu_request : RichMenuRequest, async_r @validate_arguments def validate_rich_menu_object_with_http_info(self, rich_menu_request : RichMenuRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_rich_menu_object # noqa: E501 - - Validate rich menu object # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.validate_rich_menu_object_with_http_info(rich_menu_request, async_req=True) - >>> result = thread.get() + Validate rich menu object :param rich_menu_request: (required) :type rich_menu_request: RichMenuRequest @@ -10424,8 +9474,6 @@ def validate_rich_menu_object_with_http_info(self, rich_menu_request : RichMenuR :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ diff --git a/linebot/v3/messaging/api/async_messaging_api_blob.py b/linebot/v3/messaging/api/async_messaging_api_blob.py index a6f18d2e5..e2b6f20db 100644 --- a/linebot/v3/messaging/api/async_messaging_api_blob.py +++ b/linebot/v3/messaging/api/async_messaging_api_blob.py @@ -58,14 +58,9 @@ def get_message_content(self, message_id : Annotated[StrictStr, Field(..., descr @validate_arguments def get_message_content(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], async_req: Optional[bool]=None, **kwargs) -> Union[bytearray, Awaitable[bytearray]]: # noqa: E501 - """get_message_content # noqa: E501 - - Download image, video, and audio data sent from users. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_content(message_id, async_req=True) - >>> result = thread.get() + Download image, video, and audio data sent from users. :param message_id: Message ID of video or audio (required) :type message_id: str @@ -76,8 +71,6 @@ def get_message_content(self, message_id : Annotated[StrictStr, Field(..., descr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: bytearray """ kwargs['_return_http_data_only'] = True @@ -89,14 +82,9 @@ def get_message_content(self, message_id : Annotated[StrictStr, Field(..., descr @validate_arguments def get_message_content_with_http_info(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], **kwargs) -> ApiResponse: # noqa: E501 - """get_message_content # noqa: E501 - - Download image, video, and audio data sent from users. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_content_with_http_info(message_id, async_req=True) - >>> result = thread.get() + Download image, video, and audio data sent from users. :param message_id: Message ID of video or audio (required) :type message_id: str @@ -120,8 +108,6 @@ def get_message_content_with_http_info(self, message_id : Annotated[StrictStr, F :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(bytearray, status_code(int), headers(HTTPHeaderDict)) """ @@ -220,14 +206,9 @@ def get_message_content_preview(self, message_id : Annotated[StrictStr, Field(.. @validate_arguments def get_message_content_preview(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of image or video")], async_req: Optional[bool]=None, **kwargs) -> Union[bytearray, Awaitable[bytearray]]: # noqa: E501 - """get_message_content_preview # noqa: E501 - - Get a preview image of the image or video # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_content_preview(message_id, async_req=True) - >>> result = thread.get() + Get a preview image of the image or video :param message_id: Message ID of image or video (required) :type message_id: str @@ -238,8 +219,6 @@ def get_message_content_preview(self, message_id : Annotated[StrictStr, Field(.. timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: bytearray """ kwargs['_return_http_data_only'] = True @@ -251,14 +230,9 @@ def get_message_content_preview(self, message_id : Annotated[StrictStr, Field(.. @validate_arguments def get_message_content_preview_with_http_info(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of image or video")], **kwargs) -> ApiResponse: # noqa: E501 - """get_message_content_preview # noqa: E501 - - Get a preview image of the image or video # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_content_preview_with_http_info(message_id, async_req=True) - >>> result = thread.get() + Get a preview image of the image or video :param message_id: Message ID of image or video (required) :type message_id: str @@ -282,8 +256,6 @@ def get_message_content_preview_with_http_info(self, message_id : Annotated[Stri :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(bytearray, status_code(int), headers(HTTPHeaderDict)) """ @@ -382,14 +354,9 @@ def get_message_content_transcoding_by_message_id(self, message_id : Annotated[S @validate_arguments def get_message_content_transcoding_by_message_id(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], async_req: Optional[bool]=None, **kwargs) -> Union[GetMessageContentTranscodingResponse, Awaitable[GetMessageContentTranscodingResponse]]: # noqa: E501 - """get_message_content_transcoding_by_message_id # noqa: E501 - - Verify the preparation status of a video or audio for getting # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_content_transcoding_by_message_id(message_id, async_req=True) - >>> result = thread.get() + Verify the preparation status of a video or audio for getting :param message_id: Message ID of video or audio (required) :type message_id: str @@ -400,8 +367,6 @@ def get_message_content_transcoding_by_message_id(self, message_id : Annotated[S timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetMessageContentTranscodingResponse """ kwargs['_return_http_data_only'] = True @@ -413,14 +378,9 @@ def get_message_content_transcoding_by_message_id(self, message_id : Annotated[S @validate_arguments def get_message_content_transcoding_by_message_id_with_http_info(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], **kwargs) -> ApiResponse: # noqa: E501 - """get_message_content_transcoding_by_message_id # noqa: E501 - - Verify the preparation status of a video or audio for getting # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_message_content_transcoding_by_message_id_with_http_info(message_id, async_req=True) - >>> result = thread.get() + Verify the preparation status of a video or audio for getting :param message_id: Message ID of video or audio (required) :type message_id: str @@ -444,8 +404,6 @@ def get_message_content_transcoding_by_message_id_with_http_info(self, message_i :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetMessageContentTranscodingResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -544,14 +502,9 @@ def get_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des @validate_arguments def get_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of the rich menu with the image to be downloaded")], async_req: Optional[bool]=None, **kwargs) -> Union[bytearray, Awaitable[bytearray]]: # noqa: E501 - """get_rich_menu_image # noqa: E501 - - Download rich menu image. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_image(rich_menu_id, async_req=True) - >>> result = thread.get() + Download rich menu image. :param rich_menu_id: ID of the rich menu with the image to be downloaded (required) :type rich_menu_id: str @@ -562,8 +515,6 @@ def get_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: bytearray """ kwargs['_return_http_data_only'] = True @@ -575,14 +526,9 @@ def get_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des @validate_arguments def get_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of the rich menu with the image to be downloaded")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_image # noqa: E501 - - Download rich menu image. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_rich_menu_image_with_http_info(rich_menu_id, async_req=True) - >>> result = thread.get() + Download rich menu image. :param rich_menu_id: ID of the rich menu with the image to be downloaded (required) :type rich_menu_id: str @@ -606,8 +552,6 @@ def get_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(bytearray, status_code(int), headers(HTTPHeaderDict)) """ @@ -706,14 +650,9 @@ def set_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des @validate_arguments def set_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., description="The ID of the rich menu to attach the image to")], body : Union[StrictBytes, StrictStr], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """set_rich_menu_image # noqa: E501 - - Upload rich menu image # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.set_rich_menu_image(rich_menu_id, body, async_req=True) - >>> result = thread.get() + Upload rich menu image :param rich_menu_id: The ID of the rich menu to attach the image to (required) :type rich_menu_id: str @@ -726,8 +665,6 @@ def set_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -739,14 +676,9 @@ def set_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des @validate_arguments def set_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="The ID of the rich menu to attach the image to")], body : Union[StrictBytes, StrictStr], **kwargs) -> ApiResponse: # noqa: E501 - """set_rich_menu_image # noqa: E501 - - Upload rich menu image # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.set_rich_menu_image_with_http_info(rich_menu_id, body, async_req=True) - >>> result = thread.get() + Upload rich menu image :param rich_menu_id: The ID of the rich menu to attach the image to (required) :type rich_menu_id: str @@ -772,8 +704,6 @@ def set_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ diff --git a/linebot/v3/messaging/api/messaging_api.py b/linebot/v3/messaging/api/messaging_api.py index b364179bb..a0df4448e 100644 --- a/linebot/v3/messaging/api/messaging_api.py +++ b/linebot/v3/messaging/api/messaging_api.py @@ -98,9 +98,9 @@ def __init__(self, api_client=None): @validate_arguments def broadcast(self, broadcast_request : BroadcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> object: # noqa: E501 - """broadcast # noqa: E501 + """ - Sends a message to multiple users at any time. # noqa: E501 + Sends a message to multiple users at any time. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -129,9 +129,9 @@ def broadcast(self, broadcast_request : BroadcastRequest, x_line_retry_key : Ann @validate_arguments def broadcast_with_http_info(self, broadcast_request : BroadcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """broadcast # noqa: E501 + """ - Sends a message to multiple users at any time. # noqa: E501 + Sends a message to multiple users at any time. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -258,9 +258,9 @@ def broadcast_with_http_info(self, broadcast_request : BroadcastRequest, x_line_ @validate_arguments def cancel_default_rich_menu(self, **kwargs) -> None: # noqa: E501 - """cancel_default_rich_menu # noqa: E501 + """ - Cancel default rich menu # noqa: E501 + Cancel default rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -285,9 +285,9 @@ def cancel_default_rich_menu(self, **kwargs) -> None: # noqa: E501 @validate_arguments def cancel_default_rich_menu_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """cancel_default_rich_menu # noqa: E501 + """ - Cancel default rich menu # noqa: E501 + Cancel default rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -385,9 +385,9 @@ def cancel_default_rich_menu_with_http_info(self, **kwargs) -> ApiResponse: # n @validate_arguments def close_coupon(self, coupon_id : StrictStr, **kwargs) -> None: # noqa: E501 - """close_coupon # noqa: E501 + """ - Close coupon # noqa: E501 + Close coupon This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -414,9 +414,9 @@ def close_coupon(self, coupon_id : StrictStr, **kwargs) -> None: # noqa: E501 @validate_arguments def close_coupon_with_http_info(self, coupon_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """close_coupon # noqa: E501 + """ - Close coupon # noqa: E501 + Close coupon This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -524,9 +524,9 @@ def close_coupon_with_http_info(self, coupon_id : StrictStr, **kwargs) -> ApiRes @validate_arguments def create_coupon(self, coupon_create_request : Optional[CouponCreateRequest] = None, **kwargs) -> CouponCreateResponse: # noqa: E501 - """create_coupon # noqa: E501 + """ - Create a new coupon. Define coupon details such as type, title, and validity period. # noqa: E501 + Create a new coupon. Define coupon details such as type, title, and validity period. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -553,9 +553,9 @@ def create_coupon(self, coupon_create_request : Optional[CouponCreateRequest] = @validate_arguments def create_coupon_with_http_info(self, coupon_create_request : Optional[CouponCreateRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """create_coupon # noqa: E501 + """ - Create a new coupon. Define coupon details such as type, title, and validity period. # noqa: E501 + Create a new coupon. Define coupon details such as type, title, and validity period. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -673,9 +673,9 @@ def create_coupon_with_http_info(self, coupon_create_request : Optional[CouponCr @validate_arguments def create_rich_menu(self, rich_menu_request : RichMenuRequest, **kwargs) -> RichMenuIdResponse: # noqa: E501 - """create_rich_menu # noqa: E501 + """ - Create rich menu # noqa: E501 + Create rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -702,9 +702,9 @@ def create_rich_menu(self, rich_menu_request : RichMenuRequest, **kwargs) -> Ric @validate_arguments def create_rich_menu_with_http_info(self, rich_menu_request : RichMenuRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_rich_menu # noqa: E501 + """ - Create rich menu # noqa: E501 + Create rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -821,9 +821,9 @@ def create_rich_menu_with_http_info(self, rich_menu_request : RichMenuRequest, * @validate_arguments def create_rich_menu_alias(self, create_rich_menu_alias_request : CreateRichMenuAliasRequest, **kwargs) -> None: # noqa: E501 - """create_rich_menu_alias # noqa: E501 + """ - Create rich menu alias # noqa: E501 + Create rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -850,9 +850,9 @@ def create_rich_menu_alias(self, create_rich_menu_alias_request : CreateRichMenu @validate_arguments def create_rich_menu_alias_with_http_info(self, create_rich_menu_alias_request : CreateRichMenuAliasRequest, **kwargs) -> ApiResponse: # noqa: E501 - """create_rich_menu_alias # noqa: E501 + """ - Create rich menu alias # noqa: E501 + Create rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -967,9 +967,9 @@ def create_rich_menu_alias_with_http_info(self, create_rich_menu_alias_request : @validate_arguments def delete_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> None: # noqa: E501 - """delete_rich_menu # noqa: E501 + """ - Deletes a rich menu. # noqa: E501 + Deletes a rich menu. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -996,9 +996,9 @@ def delete_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descri @validate_arguments def delete_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """delete_rich_menu # noqa: E501 + """ - Deletes a rich menu. # noqa: E501 + Deletes a rich menu. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1102,9 +1102,9 @@ def delete_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Fi @validate_arguments def delete_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="Rich menu alias ID that you want to delete.")], **kwargs) -> None: # noqa: E501 - """delete_rich_menu_alias # noqa: E501 + """ - Delete rich menu alias # noqa: E501 + Delete rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1131,9 +1131,9 @@ def delete_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field @validate_arguments def delete_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="Rich menu alias ID that you want to delete.")], **kwargs) -> ApiResponse: # noqa: E501 - """delete_rich_menu_alias # noqa: E501 + """ - Delete rich menu alias # noqa: E501 + Delete rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1241,9 +1241,9 @@ def delete_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[S @validate_arguments def get_aggregation_unit_name_list(self, limit : Annotated[Optional[StrictStr], Field(description="The maximum number of aggregation units you can get per request. ")] = None, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array. ")] = None, **kwargs) -> GetAggregationUnitNameListResponse: # noqa: E501 - """get_aggregation_unit_name_list # noqa: E501 + """ - Get name list of units used this month # noqa: E501 + Get name list of units used this month This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1272,9 +1272,9 @@ def get_aggregation_unit_name_list(self, limit : Annotated[Optional[StrictStr], @validate_arguments def get_aggregation_unit_name_list_with_http_info(self, limit : Annotated[Optional[StrictStr], Field(description="The maximum number of aggregation units you can get per request. ")] = None, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_aggregation_unit_name_list # noqa: E501 + """ - Get name list of units used this month # noqa: E501 + Get name list of units used this month This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1390,9 +1390,9 @@ def get_aggregation_unit_name_list_with_http_info(self, limit : Annotated[Option @validate_arguments def get_aggregation_unit_usage(self, **kwargs) -> GetAggregationUnitUsageResponse: # noqa: E501 - """get_aggregation_unit_usage # noqa: E501 + """ - Get number of units used this month # noqa: E501 + Get number of units used this month This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1417,9 +1417,9 @@ def get_aggregation_unit_usage(self, **kwargs) -> GetAggregationUnitUsageRespons @validate_arguments def get_aggregation_unit_usage_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_aggregation_unit_usage # noqa: E501 + """ - Get number of units used this month # noqa: E501 + Get number of units used this month This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1523,9 +1523,9 @@ def get_aggregation_unit_usage_with_http_info(self, **kwargs) -> ApiResponse: # @validate_arguments def get_bot_info(self, **kwargs) -> BotInfoResponse: # noqa: E501 - """get_bot_info # noqa: E501 + """ - Get bot info # noqa: E501 + Get bot info This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1550,9 +1550,9 @@ def get_bot_info(self, **kwargs) -> BotInfoResponse: # noqa: E501 @validate_arguments def get_bot_info_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_bot_info # noqa: E501 + """ - Get bot info # noqa: E501 + Get bot info This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1656,9 +1656,9 @@ def get_bot_info_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 @validate_arguments def get_coupon_detail(self, coupon_id : StrictStr, **kwargs) -> CouponResponse: # noqa: E501 - """get_coupon_detail # noqa: E501 + """ - Get coupon detail # noqa: E501 + Get coupon detail This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1685,9 +1685,9 @@ def get_coupon_detail(self, coupon_id : StrictStr, **kwargs) -> CouponResponse: @validate_arguments def get_coupon_detail_with_http_info(self, coupon_id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """get_coupon_detail # noqa: E501 + """ - Get coupon detail # noqa: E501 + Get coupon detail This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1799,9 +1799,9 @@ def get_coupon_detail_with_http_info(self, coupon_id : StrictStr, **kwargs) -> A @validate_arguments def get_default_rich_menu_id(self, **kwargs) -> RichMenuIdResponse: # noqa: E501 - """get_default_rich_menu_id # noqa: E501 + """ - Gets the ID of the default rich menu set with the Messaging API. # noqa: E501 + Gets the ID of the default rich menu set with the Messaging API. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1826,9 +1826,9 @@ def get_default_rich_menu_id(self, **kwargs) -> RichMenuIdResponse: # noqa: E50 @validate_arguments def get_default_rich_menu_id_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_default_rich_menu_id # noqa: E501 + """ - Gets the ID of the default rich menu set with the Messaging API. # noqa: E501 + Gets the ID of the default rich menu set with the Messaging API. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1932,9 +1932,9 @@ def get_default_rich_menu_id_with_http_info(self, **kwargs) -> ApiResponse: # n @validate_arguments def get_followers(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000)], Field(description="The maximum number of user IDs to retrieve in a single request.")] = None, **kwargs) -> GetFollowersResponse: # noqa: E501 - """get_followers # noqa: E501 + """ - Get a list of users who added your LINE Official Account as a friend # noqa: E501 + Get a list of users who added your LINE Official Account as a friend This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1963,9 +1963,9 @@ def get_followers(self, start : Annotated[Optional[StrictStr], Field(description @validate_arguments def get_followers_with_http_info(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000)], Field(description="The maximum number of user IDs to retrieve in a single request.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_followers # noqa: E501 + """ - Get a list of users who added your LINE Official Account as a friend # noqa: E501 + Get a list of users who added your LINE Official Account as a friend This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2081,9 +2081,9 @@ def get_followers_with_http_info(self, start : Annotated[Optional[StrictStr], Fi @validate_arguments def get_group_member_count(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> GroupMemberCountResponse: # noqa: E501 - """get_group_member_count # noqa: E501 + """ - Get number of users in a group chat # noqa: E501 + Get number of users in a group chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2110,9 +2110,9 @@ def get_group_member_count(self, group_id : Annotated[StrictStr, Field(..., desc @validate_arguments def get_group_member_count_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_group_member_count # noqa: E501 + """ - Get number of users in a group chat # noqa: E501 + Get number of users in a group chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2222,9 +2222,9 @@ def get_group_member_count_with_http_info(self, group_id : Annotated[StrictStr, @validate_arguments def get_group_member_profile(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> GroupUserProfileResponse: # noqa: E501 - """get_group_member_profile # noqa: E501 + """ - Get group chat member profile # noqa: E501 + Get group chat member profile This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2253,9 +2253,9 @@ def get_group_member_profile(self, group_id : Annotated[StrictStr, Field(..., de @validate_arguments def get_group_member_profile_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_group_member_profile # noqa: E501 + """ - Get group chat member profile # noqa: E501 + Get group chat member profile This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2371,9 +2371,9 @@ def get_group_member_profile_with_http_info(self, group_id : Annotated[StrictStr @validate_arguments def get_group_members_ids(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, **kwargs) -> MembersIdsResponse: # noqa: E501 - """get_group_members_ids # noqa: E501 + """ - Get group chat member user IDs # noqa: E501 + Get group chat member user IDs This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2402,9 +2402,9 @@ def get_group_members_ids(self, group_id : Annotated[StrictStr, Field(..., descr @validate_arguments def get_group_members_ids_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_group_members_ids # noqa: E501 + """ - Get group chat member user IDs # noqa: E501 + Get group chat member user IDs This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2520,9 +2520,9 @@ def get_group_members_ids_with_http_info(self, group_id : Annotated[StrictStr, F @validate_arguments def get_group_summary(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> GroupSummaryResponse: # noqa: E501 - """get_group_summary # noqa: E501 + """ - Get group chat summary # noqa: E501 + Get group chat summary This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2549,9 +2549,9 @@ def get_group_summary(self, group_id : Annotated[StrictStr, Field(..., descripti @validate_arguments def get_group_summary_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_group_summary # noqa: E501 + """ - Get group chat summary # noqa: E501 + Get group chat summary This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2661,9 +2661,9 @@ def get_group_summary_with_http_info(self, group_id : Annotated[StrictStr, Field @validate_arguments def get_joined_membership_users(self, membership_id : Annotated[StrictInt, Field(..., description="Membership plan ID.")], start : Annotated[Optional[StrictStr], Field(description="A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds). ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000, ge=1)], Field(description="The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000. ")] = None, **kwargs) -> GetJoinedMembershipUsersResponse: # noqa: E501 - """get_joined_membership_users # noqa: E501 + """ - Get a list of user IDs who joined the membership. # noqa: E501 + Get a list of user IDs who joined the membership. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2694,9 +2694,9 @@ def get_joined_membership_users(self, membership_id : Annotated[StrictInt, Field @validate_arguments def get_joined_membership_users_with_http_info(self, membership_id : Annotated[StrictInt, Field(..., description="Membership plan ID.")], start : Annotated[Optional[StrictStr], Field(description="A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds). ")] = None, limit : Annotated[Optional[conint(strict=True, le=1000, ge=1)], Field(description="The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_joined_membership_users # noqa: E501 + """ - Get a list of user IDs who joined the membership. # noqa: E501 + Get a list of user IDs who joined the membership. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2820,9 +2820,9 @@ def get_joined_membership_users_with_http_info(self, membership_id : Annotated[S @validate_arguments def get_membership_list(self, **kwargs) -> MembershipListResponse: # noqa: E501 - """get_membership_list # noqa: E501 + """ - Get a list of memberships. # noqa: E501 + Get a list of memberships. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2847,9 +2847,9 @@ def get_membership_list(self, **kwargs) -> MembershipListResponse: # noqa: E501 @validate_arguments def get_membership_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_membership_list # noqa: E501 + """ - Get a list of memberships. # noqa: E501 + Get a list of memberships. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2954,9 +2954,9 @@ def get_membership_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: @validate_arguments def get_membership_subscription(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> GetMembershipSubscriptionResponse: # noqa: E501 - """get_membership_subscription # noqa: E501 + """ - Get a user's membership subscription. # noqa: E501 + Get a user's membership subscription. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2983,9 +2983,9 @@ def get_membership_subscription(self, user_id : Annotated[StrictStr, Field(..., @validate_arguments def get_membership_subscription_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_membership_subscription # noqa: E501 + """ - Get a user's membership subscription. # noqa: E501 + Get a user's membership subscription. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3097,9 +3097,9 @@ def get_membership_subscription_with_http_info(self, user_id : Annotated[StrictS @validate_arguments def get_message_quota(self, **kwargs) -> MessageQuotaResponse: # noqa: E501 - """get_message_quota # noqa: E501 + """ - Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. # noqa: E501 + Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3124,9 +3124,9 @@ def get_message_quota(self, **kwargs) -> MessageQuotaResponse: # noqa: E501 @validate_arguments def get_message_quota_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_message_quota # noqa: E501 + """ - Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. # noqa: E501 + Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3230,9 +3230,9 @@ def get_message_quota_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E5 @validate_arguments def get_message_quota_consumption(self, **kwargs) -> QuotaConsumptionResponse: # noqa: E501 - """get_message_quota_consumption # noqa: E501 + """ - Gets the number of messages sent in the current month. # noqa: E501 + Gets the number of messages sent in the current month. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3257,9 +3257,9 @@ def get_message_quota_consumption(self, **kwargs) -> QuotaConsumptionResponse: @validate_arguments def get_message_quota_consumption_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_message_quota_consumption # noqa: E501 + """ - Gets the number of messages sent in the current month. # noqa: E501 + Gets the number of messages sent in the current month. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3363,9 +3363,9 @@ def get_message_quota_consumption_with_http_info(self, **kwargs) -> ApiResponse: @validate_arguments def get_narrowcast_progress(self, request_id : Annotated[StrictStr, Field(..., description="The narrowcast message's request ID. Each Messaging API request has a request ID.")], **kwargs) -> NarrowcastProgressResponse: # noqa: E501 - """get_narrowcast_progress # noqa: E501 + """ - Gets the status of a narrowcast message. # noqa: E501 + Gets the status of a narrowcast message. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3392,9 +3392,9 @@ def get_narrowcast_progress(self, request_id : Annotated[StrictStr, Field(..., d @validate_arguments def get_narrowcast_progress_with_http_info(self, request_id : Annotated[StrictStr, Field(..., description="The narrowcast message's request ID. Each Messaging API request has a request ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_narrowcast_progress # noqa: E501 + """ - Gets the status of a narrowcast message. # noqa: E501 + Gets the status of a narrowcast message. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3504,9 +3504,9 @@ def get_narrowcast_progress_with_http_info(self, request_id : Annotated[StrictSt @validate_arguments def get_number_of_sent_broadcast_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")], **kwargs) -> NumberOfMessagesResponse: # noqa: E501 - """get_number_of_sent_broadcast_messages # noqa: E501 + """ - Get number of sent broadcast messages # noqa: E501 + Get number of sent broadcast messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3533,9 +3533,9 @@ def get_number_of_sent_broadcast_messages(self, var_date : Annotated[StrictStr, @validate_arguments def get_number_of_sent_broadcast_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_broadcast_messages # noqa: E501 + """ - Get number of sent broadcast messages # noqa: E501 + Get number of sent broadcast messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3645,9 +3645,9 @@ def get_number_of_sent_broadcast_messages_with_http_info(self, var_date : Annota @validate_arguments def get_number_of_sent_multicast_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> NumberOfMessagesResponse: # noqa: E501 - """get_number_of_sent_multicast_messages # noqa: E501 + """ - Get number of sent multicast messages # noqa: E501 + Get number of sent multicast messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3674,9 +3674,9 @@ def get_number_of_sent_multicast_messages(self, var_date : Annotated[StrictStr, @validate_arguments def get_number_of_sent_multicast_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_multicast_messages # noqa: E501 + """ - Get number of sent multicast messages # noqa: E501 + Get number of sent multicast messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3786,9 +3786,9 @@ def get_number_of_sent_multicast_messages_with_http_info(self, var_date : Annota @validate_arguments def get_number_of_sent_push_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> NumberOfMessagesResponse: # noqa: E501 - """get_number_of_sent_push_messages # noqa: E501 + """ - Get number of sent push messages # noqa: E501 + Get number of sent push messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3815,9 +3815,9 @@ def get_number_of_sent_push_messages(self, var_date : Annotated[StrictStr, Field @validate_arguments def get_number_of_sent_push_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_push_messages # noqa: E501 + """ - Get number of sent push messages # noqa: E501 + Get number of sent push messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3927,9 +3927,9 @@ def get_number_of_sent_push_messages_with_http_info(self, var_date : Annotated[S @validate_arguments def get_number_of_sent_reply_messages(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> NumberOfMessagesResponse: # noqa: E501 - """get_number_of_sent_reply_messages # noqa: E501 + """ - Get number of sent reply messages # noqa: E501 + Get number of sent reply messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3956,9 +3956,9 @@ def get_number_of_sent_reply_messages(self, var_date : Annotated[StrictStr, Fiel @validate_arguments def get_number_of_sent_reply_messages_with_http_info(self, var_date : Annotated[StrictStr, Field(..., description="Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_number_of_sent_reply_messages # noqa: E501 + """ - Get number of sent reply messages # noqa: E501 + Get number of sent reply messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4068,9 +4068,9 @@ def get_number_of_sent_reply_messages_with_http_info(self, var_date : Annotated[ @validate_arguments def get_pnp_message_statistics(self, var_date : Annotated[constr(strict=True), Field(..., description="Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 ")], **kwargs) -> NumberOfMessagesResponse: # noqa: E501 - """get_pnp_message_statistics # noqa: E501 + """ - Get number of sent LINE notification messages # noqa: E501 + Get number of sent LINE notification messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4097,9 +4097,9 @@ def get_pnp_message_statistics(self, var_date : Annotated[constr(strict=True), F @validate_arguments def get_pnp_message_statistics_with_http_info(self, var_date : Annotated[constr(strict=True), Field(..., description="Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 ")], **kwargs) -> ApiResponse: # noqa: E501 - """get_pnp_message_statistics # noqa: E501 + """ - Get number of sent LINE notification messages # noqa: E501 + Get number of sent LINE notification messages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4209,9 +4209,9 @@ def get_pnp_message_statistics_with_http_info(self, var_date : Annotated[constr( @validate_arguments def get_profile(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> UserProfileResponse: # noqa: E501 - """get_profile # noqa: E501 + """ - Get profile # noqa: E501 + Get profile This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4238,9 +4238,9 @@ def get_profile(self, user_id : Annotated[StrictStr, Field(..., description="Use @validate_arguments def get_profile_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_profile # noqa: E501 + """ - Get profile # noqa: E501 + Get profile This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4350,9 +4350,9 @@ def get_profile_with_http_info(self, user_id : Annotated[StrictStr, Field(..., d @validate_arguments def get_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> RichMenuResponse: # noqa: E501 - """get_rich_menu # noqa: E501 + """ - Gets a rich menu via a rich menu ID. # noqa: E501 + Gets a rich menu via a rich menu ID. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4379,9 +4379,9 @@ def get_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., descripti @validate_arguments def get_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu # noqa: E501 + """ - Gets a rich menu via a rich menu ID. # noqa: E501 + Gets a rich menu via a rich menu ID. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4491,9 +4491,9 @@ def get_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field @validate_arguments def get_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID whose information you want to obtain.")], **kwargs) -> RichMenuAliasResponse: # noqa: E501 - """get_rich_menu_alias # noqa: E501 + """ - Get rich menu alias information # noqa: E501 + Get rich menu alias information This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4520,9 +4520,9 @@ def get_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(.. @validate_arguments def get_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID whose information you want to obtain.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_alias # noqa: E501 + """ - Get rich menu alias information # noqa: E501 + Get rich menu alias information This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4632,9 +4632,9 @@ def get_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[Stri @validate_arguments def get_rich_menu_alias_list(self, **kwargs) -> RichMenuAliasListResponse: # noqa: E501 - """get_rich_menu_alias_list # noqa: E501 + """ - Get list of rich menu alias # noqa: E501 + Get list of rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4659,9 +4659,9 @@ def get_rich_menu_alias_list(self, **kwargs) -> RichMenuAliasListResponse: # no @validate_arguments def get_rich_menu_alias_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_alias_list # noqa: E501 + """ - Get list of rich menu alias # noqa: E501 + Get list of rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4765,9 +4765,9 @@ def get_rich_menu_alias_list_with_http_info(self, **kwargs) -> ApiResponse: # n @validate_arguments def get_rich_menu_batch_progress(self, request_id : Annotated[StrictStr, Field(..., description="A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.")], **kwargs) -> RichMenuBatchProgressResponse: # noqa: E501 - """get_rich_menu_batch_progress # noqa: E501 + """ - Get the status of Replace or unlink a linked rich menus in batches. # noqa: E501 + Get the status of Replace or unlink a linked rich menus in batches. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4794,9 +4794,9 @@ def get_rich_menu_batch_progress(self, request_id : Annotated[StrictStr, Field(. @validate_arguments def get_rich_menu_batch_progress_with_http_info(self, request_id : Annotated[StrictStr, Field(..., description="A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_batch_progress # noqa: E501 + """ - Get the status of Replace or unlink a linked rich menus in batches. # noqa: E501 + Get the status of Replace or unlink a linked rich menus in batches. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4906,9 +4906,9 @@ def get_rich_menu_batch_progress_with_http_info(self, request_id : Annotated[Str @validate_arguments def get_rich_menu_id_of_user(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], **kwargs) -> RichMenuIdResponse: # noqa: E501 - """get_rich_menu_id_of_user # noqa: E501 + """ - Get rich menu ID of user # noqa: E501 + Get rich menu ID of user This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4935,9 +4935,9 @@ def get_rich_menu_id_of_user(self, user_id : Annotated[StrictStr, Field(..., des @validate_arguments def get_rich_menu_id_of_user_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_id_of_user # noqa: E501 + """ - Get rich menu ID of user # noqa: E501 + Get rich menu ID of user This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5047,9 +5047,9 @@ def get_rich_menu_id_of_user_with_http_info(self, user_id : Annotated[StrictStr, @validate_arguments def get_rich_menu_list(self, **kwargs) -> RichMenuListResponse: # noqa: E501 - """get_rich_menu_list # noqa: E501 + """ - Get rich menu list # noqa: E501 + Get rich menu list This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5074,9 +5074,9 @@ def get_rich_menu_list(self, **kwargs) -> RichMenuListResponse: # noqa: E501 @validate_arguments def get_rich_menu_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_list # noqa: E501 + """ - Get rich menu list # noqa: E501 + Get rich menu list This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5180,9 +5180,9 @@ def get_rich_menu_list_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E @validate_arguments def get_room_member_count(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], **kwargs) -> RoomMemberCountResponse: # noqa: E501 - """get_room_member_count # noqa: E501 + """ - Get number of users in a multi-person chat # noqa: E501 + Get number of users in a multi-person chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5209,9 +5209,9 @@ def get_room_member_count(self, room_id : Annotated[StrictStr, Field(..., descri @validate_arguments def get_room_member_count_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_room_member_count # noqa: E501 + """ - Get number of users in a multi-person chat # noqa: E501 + Get number of users in a multi-person chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5321,9 +5321,9 @@ def get_room_member_count_with_http_info(self, room_id : Annotated[StrictStr, Fi @validate_arguments def get_room_member_profile(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> RoomUserProfileResponse: # noqa: E501 - """get_room_member_profile # noqa: E501 + """ - Get multi-person chat member profile # noqa: E501 + Get multi-person chat member profile This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5352,9 +5352,9 @@ def get_room_member_profile(self, room_id : Annotated[StrictStr, Field(..., desc @validate_arguments def get_room_member_profile_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], user_id : Annotated[StrictStr, Field(..., description="User ID")], **kwargs) -> ApiResponse: # noqa: E501 - """get_room_member_profile # noqa: E501 + """ - Get multi-person chat member profile # noqa: E501 + Get multi-person chat member profile This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5470,9 +5470,9 @@ def get_room_member_profile_with_http_info(self, room_id : Annotated[StrictStr, @validate_arguments def get_room_members_ids(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, **kwargs) -> MembersIdsResponse: # noqa: E501 - """get_room_members_ids # noqa: E501 + """ - Get multi-person chat member user IDs # noqa: E501 + Get multi-person chat member user IDs This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5501,9 +5501,9 @@ def get_room_members_ids(self, room_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def get_room_members_ids_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_room_members_ids # noqa: E501 + """ - Get multi-person chat member user IDs # noqa: E501 + Get multi-person chat member user IDs This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5619,9 +5619,9 @@ def get_room_members_ids_with_http_info(self, room_id : Annotated[StrictStr, Fie @validate_arguments def get_webhook_endpoint(self, **kwargs) -> GetWebhookEndpointResponse: # noqa: E501 - """get_webhook_endpoint # noqa: E501 + """ - Get webhook endpoint information # noqa: E501 + Get webhook endpoint information This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5646,9 +5646,9 @@ def get_webhook_endpoint(self, **kwargs) -> GetWebhookEndpointResponse: # noqa: @validate_arguments def get_webhook_endpoint_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 - """get_webhook_endpoint # noqa: E501 + """ - Get webhook endpoint information # noqa: E501 + Get webhook endpoint information This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5752,9 +5752,9 @@ def get_webhook_endpoint_with_http_info(self, **kwargs) -> ApiResponse: # noqa: @validate_arguments def issue_link_token(self, user_id : Annotated[StrictStr, Field(..., description="User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. ")], **kwargs) -> IssueLinkTokenResponse: # noqa: E501 - """issue_link_token # noqa: E501 + """ - Issue link token # noqa: E501 + Issue link token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5781,9 +5781,9 @@ def issue_link_token(self, user_id : Annotated[StrictStr, Field(..., description @validate_arguments def issue_link_token_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. ")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_link_token # noqa: E501 + """ - Issue link token # noqa: E501 + Issue link token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5893,9 +5893,9 @@ def issue_link_token_with_http_info(self, user_id : Annotated[StrictStr, Field(. @validate_arguments def leave_group(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> None: # noqa: E501 - """leave_group # noqa: E501 + """ - Leave group chat # noqa: E501 + Leave group chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -5922,9 +5922,9 @@ def leave_group(self, group_id : Annotated[StrictStr, Field(..., description="Gr @validate_arguments def leave_group_with_http_info(self, group_id : Annotated[StrictStr, Field(..., description="Group ID")], **kwargs) -> ApiResponse: # noqa: E501 - """leave_group # noqa: E501 + """ - Leave group chat # noqa: E501 + Leave group chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6032,9 +6032,9 @@ def leave_group_with_http_info(self, group_id : Annotated[StrictStr, Field(..., @validate_arguments def leave_room(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], **kwargs) -> None: # noqa: E501 - """leave_room # noqa: E501 + """ - Leave multi-person chat # noqa: E501 + Leave multi-person chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6061,9 +6061,9 @@ def leave_room(self, room_id : Annotated[StrictStr, Field(..., description="Room @validate_arguments def leave_room_with_http_info(self, room_id : Annotated[StrictStr, Field(..., description="Room ID")], **kwargs) -> ApiResponse: # noqa: E501 - """leave_room # noqa: E501 + """ - Leave multi-person chat # noqa: E501 + Leave multi-person chat This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6167,9 +6167,9 @@ def leave_room_with_http_info(self, room_id : Annotated[StrictStr, Field(..., de @validate_arguments def link_rich_menu_id_to_user(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> None: # noqa: E501 - """link_rich_menu_id_to_user # noqa: E501 + """ - Link rich menu to user. # noqa: E501 + Link rich menu to user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6198,9 +6198,9 @@ def link_rich_menu_id_to_user(self, user_id : Annotated[StrictStr, Field(..., de @validate_arguments def link_rich_menu_id_to_user_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """link_rich_menu_id_to_user # noqa: E501 + """ - Link rich menu to user. # noqa: E501 + Link rich menu to user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6310,9 +6310,9 @@ def link_rich_menu_id_to_user_with_http_info(self, user_id : Annotated[StrictStr @validate_arguments def link_rich_menu_id_to_users(self, rich_menu_bulk_link_request : RichMenuBulkLinkRequest, **kwargs) -> None: # noqa: E501 - """link_rich_menu_id_to_users # noqa: E501 + """ - Link rich menu to multiple users # noqa: E501 + Link rich menu to multiple users This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6339,9 +6339,9 @@ def link_rich_menu_id_to_users(self, rich_menu_bulk_link_request : RichMenuBulkL @validate_arguments def link_rich_menu_id_to_users_with_http_info(self, rich_menu_bulk_link_request : RichMenuBulkLinkRequest, **kwargs) -> ApiResponse: # noqa: E501 - """link_rich_menu_id_to_users # noqa: E501 + """ - Link rich menu to multiple users # noqa: E501 + Link rich menu to multiple users This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6452,9 +6452,9 @@ def link_rich_menu_id_to_users_with_http_info(self, rich_menu_bulk_link_request @validate_arguments def list_coupon(self, status : Annotated[Optional[conlist(StrictStr, unique_items=True)], Field(description="Filter coupons by their status.")] = None, start : Annotated[Optional[StrictStr], Field(description="Pagination token to retrieve the next page of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=100, ge=1)], Field(description="Maximum number of coupons to return per request.")] = None, **kwargs) -> MessagingApiPagerCouponListResponse: # noqa: E501 - """list_coupon # noqa: E501 + """ - Get a paginated list of coupons. # noqa: E501 + Get a paginated list of coupons. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6485,9 +6485,9 @@ def list_coupon(self, status : Annotated[Optional[conlist(StrictStr, unique_item @validate_arguments def list_coupon_with_http_info(self, status : Annotated[Optional[conlist(StrictStr, unique_items=True)], Field(description="Filter coupons by their status.")] = None, start : Annotated[Optional[StrictStr], Field(description="Pagination token to retrieve the next page of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=100, ge=1)], Field(description="Maximum number of coupons to return per request.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """list_coupon # noqa: E501 + """ - Get a paginated list of coupons. # noqa: E501 + Get a paginated list of coupons. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6611,9 +6611,9 @@ def list_coupon_with_http_info(self, status : Annotated[Optional[conlist(StrictS @validate_arguments def mark_messages_as_read(self, mark_messages_as_read_request : MarkMessagesAsReadRequest, **kwargs) -> None: # noqa: E501 - """mark_messages_as_read # noqa: E501 + """ - Mark messages from users as read # noqa: E501 + Mark messages from users as read This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6640,9 +6640,9 @@ def mark_messages_as_read(self, mark_messages_as_read_request : MarkMessagesAsRe @validate_arguments def mark_messages_as_read_with_http_info(self, mark_messages_as_read_request : MarkMessagesAsReadRequest, **kwargs) -> ApiResponse: # noqa: E501 - """mark_messages_as_read # noqa: E501 + """ - Mark messages from users as read # noqa: E501 + Mark messages from users as read This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6753,9 +6753,9 @@ def mark_messages_as_read_with_http_info(self, mark_messages_as_read_request : M @validate_arguments def mark_messages_as_read_by_token(self, mark_messages_as_read_by_token_request : MarkMessagesAsReadByTokenRequest, **kwargs) -> None: # noqa: E501 - """mark_messages_as_read_by_token # noqa: E501 + """ - Mark messages from users as read by token # noqa: E501 + Mark messages from users as read by token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6782,9 +6782,9 @@ def mark_messages_as_read_by_token(self, mark_messages_as_read_by_token_request @validate_arguments def mark_messages_as_read_by_token_with_http_info(self, mark_messages_as_read_by_token_request : MarkMessagesAsReadByTokenRequest, **kwargs) -> ApiResponse: # noqa: E501 - """mark_messages_as_read_by_token # noqa: E501 + """ - Mark messages from users as read by token # noqa: E501 + Mark messages from users as read by token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6899,9 +6899,9 @@ def mark_messages_as_read_by_token_with_http_info(self, mark_messages_as_read_by @validate_arguments def multicast(self, multicast_request : MulticastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> object: # noqa: E501 - """multicast # noqa: E501 + """ - An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. # noqa: E501 + An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -6930,9 +6930,9 @@ def multicast(self, multicast_request : MulticastRequest, x_line_retry_key : Ann @validate_arguments def multicast_with_http_info(self, multicast_request : MulticastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """multicast # noqa: E501 + """ - An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. # noqa: E501 + An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7059,9 +7059,9 @@ def multicast_with_http_info(self, multicast_request : MulticastRequest, x_line_ @validate_arguments def narrowcast(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> object: # noqa: E501 - """narrowcast # noqa: E501 + """ - Send narrowcast message # noqa: E501 + Send narrowcast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7090,9 +7090,9 @@ def narrowcast(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : @validate_arguments def narrowcast_with_http_info(self, narrowcast_request : NarrowcastRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """narrowcast # noqa: E501 + """ - Send narrowcast message # noqa: E501 + Send narrowcast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7219,9 +7219,9 @@ def narrowcast_with_http_info(self, narrowcast_request : NarrowcastRequest, x_li @validate_arguments def push_message(self, push_message_request : PushMessageRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> PushMessageResponse: # noqa: E501 - """push_message # noqa: E501 + """ - Sends a message to a user, group chat, or multi-person chat at any time. # noqa: E501 + Sends a message to a user, group chat, or multi-person chat at any time. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7250,9 +7250,9 @@ def push_message(self, push_message_request : PushMessageRequest, x_line_retry_k @validate_arguments def push_message_with_http_info(self, push_message_request : PushMessageRequest, x_line_retry_key : Annotated[Optional[StrictStr], Field(description="Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """push_message # noqa: E501 + """ - Sends a message to a user, group chat, or multi-person chat at any time. # noqa: E501 + Sends a message to a user, group chat, or multi-person chat at any time. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7379,9 +7379,9 @@ def push_message_with_http_info(self, push_message_request : PushMessageRequest, @validate_arguments def push_messages_by_phone(self, pnp_messages_request : PnpMessagesRequest, x_line_delivery_tag : Annotated[Optional[constr(strict=True, max_length=100, min_length=16)], Field(description="String returned in the delivery.data property of the delivery completion event via Webhook.")] = None, **kwargs) -> None: # noqa: E501 - """push_messages_by_phone # noqa: E501 + """ - Send LINE notification message # noqa: E501 + Send LINE notification message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7410,9 +7410,9 @@ def push_messages_by_phone(self, pnp_messages_request : PnpMessagesRequest, x_li @validate_arguments def push_messages_by_phone_with_http_info(self, pnp_messages_request : PnpMessagesRequest, x_line_delivery_tag : Annotated[Optional[constr(strict=True, max_length=100, min_length=16)], Field(description="String returned in the delivery.data property of the delivery completion event via Webhook.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """push_messages_by_phone # noqa: E501 + """ - Send LINE notification message # noqa: E501 + Send LINE notification message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7533,9 +7533,9 @@ def push_messages_by_phone_with_http_info(self, pnp_messages_request : PnpMessag @validate_arguments def reply_message(self, reply_message_request : ReplyMessageRequest, **kwargs) -> ReplyMessageResponse: # noqa: E501 - """reply_message # noqa: E501 + """ - Send reply message # noqa: E501 + Send reply message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7562,9 +7562,9 @@ def reply_message(self, reply_message_request : ReplyMessageRequest, **kwargs) - @validate_arguments def reply_message_with_http_info(self, reply_message_request : ReplyMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """reply_message # noqa: E501 + """ - Send reply message # noqa: E501 + Send reply message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7683,9 +7683,9 @@ def reply_message_with_http_info(self, reply_message_request : ReplyMessageReque @validate_arguments def rich_menu_batch(self, rich_menu_batch_request : RichMenuBatchRequest, **kwargs) -> None: # noqa: E501 - """rich_menu_batch # noqa: E501 + """ - You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu # noqa: E501 + You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7712,9 +7712,9 @@ def rich_menu_batch(self, rich_menu_batch_request : RichMenuBatchRequest, **kwar @validate_arguments def rich_menu_batch_with_http_info(self, rich_menu_batch_request : RichMenuBatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """rich_menu_batch # noqa: E501 + """ - You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu # noqa: E501 + You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7825,9 +7825,9 @@ def rich_menu_batch_with_http_info(self, rich_menu_batch_request : RichMenuBatch @validate_arguments def set_default_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> None: # noqa: E501 - """set_default_rich_menu # noqa: E501 + """ - Set default rich menu # noqa: E501 + Set default rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7854,9 +7854,9 @@ def set_default_rich_menu(self, rich_menu_id : Annotated[StrictStr, Field(..., d @validate_arguments def set_default_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of a rich menu")], **kwargs) -> ApiResponse: # noqa: E501 - """set_default_rich_menu # noqa: E501 + """ - Set default rich menu # noqa: E501 + Set default rich menu This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7960,9 +7960,9 @@ def set_default_rich_menu_with_http_info(self, rich_menu_id : Annotated[StrictSt @validate_arguments def set_webhook_endpoint(self, set_webhook_endpoint_request : SetWebhookEndpointRequest, **kwargs) -> None: # noqa: E501 - """set_webhook_endpoint # noqa: E501 + """ - Set webhook endpoint URL # noqa: E501 + Set webhook endpoint URL This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -7989,9 +7989,9 @@ def set_webhook_endpoint(self, set_webhook_endpoint_request : SetWebhookEndpoint @validate_arguments def set_webhook_endpoint_with_http_info(self, set_webhook_endpoint_request : SetWebhookEndpointRequest, **kwargs) -> ApiResponse: # noqa: E501 - """set_webhook_endpoint # noqa: E501 + """ - Set webhook endpoint URL # noqa: E501 + Set webhook endpoint URL This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8102,9 +8102,9 @@ def set_webhook_endpoint_with_http_info(self, set_webhook_endpoint_request : Set @validate_arguments def show_loading_animation(self, show_loading_animation_request : ShowLoadingAnimationRequest, **kwargs) -> object: # noqa: E501 - """show_loading_animation # noqa: E501 + """ - Display a loading animation in one-on-one chats between users and LINE Official Accounts. # noqa: E501 + Display a loading animation in one-on-one chats between users and LINE Official Accounts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8131,9 +8131,9 @@ def show_loading_animation(self, show_loading_animation_request : ShowLoadingAni @validate_arguments def show_loading_animation_with_http_info(self, show_loading_animation_request : ShowLoadingAnimationRequest, **kwargs) -> ApiResponse: # noqa: E501 - """show_loading_animation # noqa: E501 + """ - Display a loading animation in one-on-one chats between users and LINE Official Accounts. # noqa: E501 + Display a loading animation in one-on-one chats between users and LINE Official Accounts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8251,9 +8251,9 @@ def show_loading_animation_with_http_info(self, show_loading_animation_request : @validate_arguments def test_webhook_endpoint(self, test_webhook_endpoint_request : Optional[TestWebhookEndpointRequest] = None, **kwargs) -> TestWebhookEndpointResponse: # noqa: E501 - """test_webhook_endpoint # noqa: E501 + """ - Test webhook endpoint # noqa: E501 + Test webhook endpoint This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8280,9 +8280,9 @@ def test_webhook_endpoint(self, test_webhook_endpoint_request : Optional[TestWeb @validate_arguments def test_webhook_endpoint_with_http_info(self, test_webhook_endpoint_request : Optional[TestWebhookEndpointRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """test_webhook_endpoint # noqa: E501 + """ - Test webhook endpoint # noqa: E501 + Test webhook endpoint This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8399,9 +8399,9 @@ def test_webhook_endpoint_with_http_info(self, test_webhook_endpoint_request : O @validate_arguments def unlink_rich_menu_id_from_user(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], **kwargs) -> None: # noqa: E501 - """unlink_rich_menu_id_from_user # noqa: E501 + """ - Unlink rich menu from user # noqa: E501 + Unlink rich menu from user This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8428,9 +8428,9 @@ def unlink_rich_menu_id_from_user(self, user_id : Annotated[StrictStr, Field(... @validate_arguments def unlink_rich_menu_id_from_user_with_http_info(self, user_id : Annotated[StrictStr, Field(..., description="User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.")], **kwargs) -> ApiResponse: # noqa: E501 - """unlink_rich_menu_id_from_user # noqa: E501 + """ - Unlink rich menu from user # noqa: E501 + Unlink rich menu from user This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8534,9 +8534,9 @@ def unlink_rich_menu_id_from_user_with_http_info(self, user_id : Annotated[Stric @validate_arguments def unlink_rich_menu_id_from_users(self, rich_menu_bulk_unlink_request : RichMenuBulkUnlinkRequest, **kwargs) -> None: # noqa: E501 - """unlink_rich_menu_id_from_users # noqa: E501 + """ - Unlink rich menus from multiple users # noqa: E501 + Unlink rich menus from multiple users This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8563,9 +8563,9 @@ def unlink_rich_menu_id_from_users(self, rich_menu_bulk_unlink_request : RichMen @validate_arguments def unlink_rich_menu_id_from_users_with_http_info(self, rich_menu_bulk_unlink_request : RichMenuBulkUnlinkRequest, **kwargs) -> ApiResponse: # noqa: E501 - """unlink_rich_menu_id_from_users # noqa: E501 + """ - Unlink rich menus from multiple users # noqa: E501 + Unlink rich menus from multiple users This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8676,9 +8676,9 @@ def unlink_rich_menu_id_from_users_with_http_info(self, rich_menu_bulk_unlink_re @validate_arguments def update_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID you want to update.")], update_rich_menu_alias_request : UpdateRichMenuAliasRequest, **kwargs) -> None: # noqa: E501 - """update_rich_menu_alias # noqa: E501 + """ - Update rich menu alias # noqa: E501 + Update rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8707,9 +8707,9 @@ def update_rich_menu_alias(self, rich_menu_alias_id : Annotated[StrictStr, Field @validate_arguments def update_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[StrictStr, Field(..., description="The rich menu alias ID you want to update.")], update_rich_menu_alias_request : UpdateRichMenuAliasRequest, **kwargs) -> ApiResponse: # noqa: E501 - """update_rich_menu_alias # noqa: E501 + """ - Update rich menu alias # noqa: E501 + Update rich menu alias This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8830,9 +8830,9 @@ def update_rich_menu_alias_with_http_info(self, rich_menu_alias_id : Annotated[S @validate_arguments def validate_broadcast(self, validate_message_request : ValidateMessageRequest, **kwargs) -> None: # noqa: E501 - """validate_broadcast # noqa: E501 + """ - Validate message objects of a broadcast message # noqa: E501 + Validate message objects of a broadcast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8859,9 +8859,9 @@ def validate_broadcast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_broadcast_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_broadcast # noqa: E501 + """ - Validate message objects of a broadcast message # noqa: E501 + Validate message objects of a broadcast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -8972,9 +8972,9 @@ def validate_broadcast_with_http_info(self, validate_message_request : ValidateM @validate_arguments def validate_multicast(self, validate_message_request : ValidateMessageRequest, **kwargs) -> None: # noqa: E501 - """validate_multicast # noqa: E501 + """ - Validate message objects of a multicast message # noqa: E501 + Validate message objects of a multicast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9001,9 +9001,9 @@ def validate_multicast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_multicast_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_multicast # noqa: E501 + """ - Validate message objects of a multicast message # noqa: E501 + Validate message objects of a multicast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9114,9 +9114,9 @@ def validate_multicast_with_http_info(self, validate_message_request : ValidateM @validate_arguments def validate_narrowcast(self, validate_message_request : ValidateMessageRequest, **kwargs) -> None: # noqa: E501 - """validate_narrowcast # noqa: E501 + """ - Validate message objects of a narrowcast message # noqa: E501 + Validate message objects of a narrowcast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9143,9 +9143,9 @@ def validate_narrowcast(self, validate_message_request : ValidateMessageRequest, @validate_arguments def validate_narrowcast_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_narrowcast # noqa: E501 + """ - Validate message objects of a narrowcast message # noqa: E501 + Validate message objects of a narrowcast message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9256,9 +9256,9 @@ def validate_narrowcast_with_http_info(self, validate_message_request : Validate @validate_arguments def validate_push(self, validate_message_request : ValidateMessageRequest, **kwargs) -> None: # noqa: E501 - """validate_push # noqa: E501 + """ - Validate message objects of a push message # noqa: E501 + Validate message objects of a push message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9285,9 +9285,9 @@ def validate_push(self, validate_message_request : ValidateMessageRequest, **kwa @validate_arguments def validate_push_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_push # noqa: E501 + """ - Validate message objects of a push message # noqa: E501 + Validate message objects of a push message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9398,9 +9398,9 @@ def validate_push_with_http_info(self, validate_message_request : ValidateMessag @validate_arguments def validate_reply(self, validate_message_request : ValidateMessageRequest, **kwargs) -> None: # noqa: E501 - """validate_reply # noqa: E501 + """ - Validate message objects of a reply message # noqa: E501 + Validate message objects of a reply message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9427,9 +9427,9 @@ def validate_reply(self, validate_message_request : ValidateMessageRequest, **kw @validate_arguments def validate_reply_with_http_info(self, validate_message_request : ValidateMessageRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_reply # noqa: E501 + """ - Validate message objects of a reply message # noqa: E501 + Validate message objects of a reply message This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9540,9 +9540,9 @@ def validate_reply_with_http_info(self, validate_message_request : ValidateMessa @validate_arguments def validate_rich_menu_batch_request(self, rich_menu_batch_request : RichMenuBatchRequest, **kwargs) -> None: # noqa: E501 - """validate_rich_menu_batch_request # noqa: E501 + """ - Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. # noqa: E501 + Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9569,9 +9569,9 @@ def validate_rich_menu_batch_request(self, rich_menu_batch_request : RichMenuBat @validate_arguments def validate_rich_menu_batch_request_with_http_info(self, rich_menu_batch_request : RichMenuBatchRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_rich_menu_batch_request # noqa: E501 + """ - Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. # noqa: E501 + Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9682,9 +9682,9 @@ def validate_rich_menu_batch_request_with_http_info(self, rich_menu_batch_reques @validate_arguments def validate_rich_menu_object(self, rich_menu_request : RichMenuRequest, **kwargs) -> None: # noqa: E501 - """validate_rich_menu_object # noqa: E501 + """ - Validate rich menu object # noqa: E501 + Validate rich menu object This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -9711,9 +9711,9 @@ def validate_rich_menu_object(self, rich_menu_request : RichMenuRequest, **kwarg @validate_arguments def validate_rich_menu_object_with_http_info(self, rich_menu_request : RichMenuRequest, **kwargs) -> ApiResponse: # noqa: E501 - """validate_rich_menu_object # noqa: E501 + """ - Validate rich menu object # noqa: E501 + Validate rich menu object This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/messaging/api/messaging_api_blob.py b/linebot/v3/messaging/api/messaging_api_blob.py index e701968b1..0e2adbb2a 100644 --- a/linebot/v3/messaging/api/messaging_api_blob.py +++ b/linebot/v3/messaging/api/messaging_api_blob.py @@ -48,9 +48,9 @@ def __init__(self, api_client=None): @validate_arguments def get_message_content(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], **kwargs) -> bytearray: # noqa: E501 - """get_message_content # noqa: E501 + """ - Download image, video, and audio data sent from users. # noqa: E501 + Download image, video, and audio data sent from users. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -77,9 +77,9 @@ def get_message_content(self, message_id : Annotated[StrictStr, Field(..., descr @validate_arguments def get_message_content_with_http_info(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], **kwargs) -> ApiResponse: # noqa: E501 - """get_message_content # noqa: E501 + """ - Download image, video, and audio data sent from users. # noqa: E501 + Download image, video, and audio data sent from users. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -200,9 +200,9 @@ def get_message_content_with_http_info(self, message_id : Annotated[StrictStr, F @validate_arguments def get_message_content_preview(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of image or video")], **kwargs) -> bytearray: # noqa: E501 - """get_message_content_preview # noqa: E501 + """ - Get a preview image of the image or video # noqa: E501 + Get a preview image of the image or video This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -229,9 +229,9 @@ def get_message_content_preview(self, message_id : Annotated[StrictStr, Field(.. @validate_arguments def get_message_content_preview_with_http_info(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of image or video")], **kwargs) -> ApiResponse: # noqa: E501 - """get_message_content_preview # noqa: E501 + """ - Get a preview image of the image or video # noqa: E501 + Get a preview image of the image or video This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -352,9 +352,9 @@ def get_message_content_preview_with_http_info(self, message_id : Annotated[Stri @validate_arguments def get_message_content_transcoding_by_message_id(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], **kwargs) -> GetMessageContentTranscodingResponse: # noqa: E501 - """get_message_content_transcoding_by_message_id # noqa: E501 + """ - Verify the preparation status of a video or audio for getting # noqa: E501 + Verify the preparation status of a video or audio for getting This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -381,9 +381,9 @@ def get_message_content_transcoding_by_message_id(self, message_id : Annotated[S @validate_arguments def get_message_content_transcoding_by_message_id_with_http_info(self, message_id : Annotated[StrictStr, Field(..., description="Message ID of video or audio")], **kwargs) -> ApiResponse: # noqa: E501 - """get_message_content_transcoding_by_message_id # noqa: E501 + """ - Verify the preparation status of a video or audio for getting # noqa: E501 + Verify the preparation status of a video or audio for getting This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -504,9 +504,9 @@ def get_message_content_transcoding_by_message_id_with_http_info(self, message_i @validate_arguments def get_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of the rich menu with the image to be downloaded")], **kwargs) -> bytearray: # noqa: E501 - """get_rich_menu_image # noqa: E501 + """ - Download rich menu image. # noqa: E501 + Download rich menu image. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -533,9 +533,9 @@ def get_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des @validate_arguments def get_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="ID of the rich menu with the image to be downloaded")], **kwargs) -> ApiResponse: # noqa: E501 - """get_rich_menu_image # noqa: E501 + """ - Download rich menu image. # noqa: E501 + Download rich menu image. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -656,9 +656,9 @@ def get_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, @validate_arguments def set_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., description="The ID of the rich menu to attach the image to")], body : Union[StrictBytes, StrictStr], **kwargs) -> None: # noqa: E501 - """set_rich_menu_image # noqa: E501 + """ - Upload rich menu image # noqa: E501 + Upload rich menu image This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -687,9 +687,9 @@ def set_rich_menu_image(self, rich_menu_id : Annotated[StrictStr, Field(..., des @validate_arguments def set_rich_menu_image_with_http_info(self, rich_menu_id : Annotated[StrictStr, Field(..., description="The ID of the rich menu to attach the image to")], body : Union[StrictBytes, StrictStr], **kwargs) -> ApiResponse: # noqa: E501 - """set_rich_menu_image # noqa: E501 + """ - Upload rich menu image # noqa: E501 + Upload rich menu image This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/module/api/async_line_module.py b/linebot/v3/module/api/async_line_module.py index d129bbcde..4f001c431 100644 --- a/linebot/v3/module/api/async_line_module.py +++ b/linebot/v3/module/api/async_line_module.py @@ -60,14 +60,9 @@ def acquire_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def acquire_chat_control(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], acquire_chat_control_request : Optional[AcquireChatControlRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """acquire_chat_control # noqa: E501 - - If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.acquire_chat_control(chat_id, acquire_chat_control_request, async_req=True) - >>> result = thread.get() + If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. :param chat_id: The `userId`, `roomId`, or `groupId` (required) :type chat_id: str @@ -80,8 +75,6 @@ def acquire_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -93,14 +86,9 @@ def acquire_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def acquire_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], acquire_chat_control_request : Optional[AcquireChatControlRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """acquire_chat_control # noqa: E501 - - If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.acquire_chat_control_with_http_info(chat_id, acquire_chat_control_request, async_req=True) - >>> result = thread.get() + If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. :param chat_id: The `userId`, `roomId`, or `groupId` (required) :type chat_id: str @@ -126,8 +114,6 @@ def acquire_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Fie :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -220,14 +206,9 @@ def detach_module(self, detach_module_request : Optional[DetachModuleRequest] = @validate_arguments def detach_module(self, detach_module_request : Optional[DetachModuleRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """detach_module # noqa: E501 - - The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.detach_module(detach_module_request, async_req=True) - >>> result = thread.get() + The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. :param detach_module_request: :type detach_module_request: DetachModuleRequest @@ -238,8 +219,6 @@ def detach_module(self, detach_module_request : Optional[DetachModuleRequest] = timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -251,14 +230,9 @@ def detach_module(self, detach_module_request : Optional[DetachModuleRequest] = @validate_arguments def detach_module_with_http_info(self, detach_module_request : Optional[DetachModuleRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """detach_module # noqa: E501 - - The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.detach_module_with_http_info(detach_module_request, async_req=True) - >>> result = thread.get() + The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. :param detach_module_request: :type detach_module_request: DetachModuleRequest @@ -282,8 +256,6 @@ def detach_module_with_http_info(self, detach_module_request : Optional[DetachMo :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -372,14 +344,9 @@ def get_modules(self, start : Annotated[Optional[StrictStr], Field(description=" @validate_arguments def get_modules(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array. ")] = None, limit : Annotated[Optional[conint(strict=True, le=100)], Field(description="Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100 ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetModulesResponse, Awaitable[GetModulesResponse]]: # noqa: E501 - """get_modules # noqa: E501 - - Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_modules(start, limit, async_req=True) - >>> result = thread.get() + Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. :param start: Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array. :type start: str @@ -392,8 +359,6 @@ def get_modules(self, start : Annotated[Optional[StrictStr], Field(description=" timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: GetModulesResponse """ kwargs['_return_http_data_only'] = True @@ -405,14 +370,9 @@ def get_modules(self, start : Annotated[Optional[StrictStr], Field(description=" @validate_arguments def get_modules_with_http_info(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array. ")] = None, limit : Annotated[Optional[conint(strict=True, le=100)], Field(description="Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100 ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_modules # noqa: E501 - - Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.get_modules_with_http_info(start, limit, async_req=True) - >>> result = thread.get() + Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. :param start: Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array. :type start: str @@ -438,8 +398,6 @@ def get_modules_with_http_info(self, start : Annotated[Optional[StrictStr], Fiel :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(GetModulesResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -531,14 +489,9 @@ def release_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def release_chat_control(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """release_chat_control # noqa: E501 - - To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.release_chat_control(chat_id, async_req=True) - >>> result = thread.get() + To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. :param chat_id: The `userId`, `roomId`, or `groupId` (required) :type chat_id: str @@ -549,8 +502,6 @@ def release_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -562,14 +513,9 @@ def release_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def release_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], **kwargs) -> ApiResponse: # noqa: E501 - """release_chat_control # noqa: E501 - - To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.release_chat_control_with_http_info(chat_id, async_req=True) - >>> result = thread.get() + To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. :param chat_id: The `userId`, `roomId`, or `groupId` (required) :type chat_id: str @@ -593,8 +539,6 @@ def release_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Fie :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ diff --git a/linebot/v3/module/api/line_module.py b/linebot/v3/module/api/line_module.py index 38e2e646b..6df51570f 100644 --- a/linebot/v3/module/api/line_module.py +++ b/linebot/v3/module/api/line_module.py @@ -50,9 +50,9 @@ def __init__(self, api_client=None): @validate_arguments def acquire_chat_control(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], acquire_chat_control_request : Optional[AcquireChatControlRequest] = None, **kwargs) -> None: # noqa: E501 - """acquire_chat_control # noqa: E501 + """ - If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. # noqa: E501 + If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -81,9 +81,9 @@ def acquire_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def acquire_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], acquire_chat_control_request : Optional[AcquireChatControlRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """acquire_chat_control # noqa: E501 + """ - If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. # noqa: E501 + If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -200,9 +200,9 @@ def acquire_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Fie @validate_arguments def detach_module(self, detach_module_request : Optional[DetachModuleRequest] = None, **kwargs) -> None: # noqa: E501 - """detach_module # noqa: E501 + """ - The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. # noqa: E501 + The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -229,9 +229,9 @@ def detach_module(self, detach_module_request : Optional[DetachModuleRequest] = @validate_arguments def detach_module_with_http_info(self, detach_module_request : Optional[DetachModuleRequest] = None, **kwargs) -> ApiResponse: # noqa: E501 - """detach_module # noqa: E501 + """ - The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. # noqa: E501 + The module channel admin calls the Detach API to detach the module channel from a LINE Official Account. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -342,9 +342,9 @@ def detach_module_with_http_info(self, detach_module_request : Optional[DetachMo @validate_arguments def get_modules(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array. ")] = None, limit : Annotated[Optional[conint(strict=True, le=100)], Field(description="Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100 ")] = None, **kwargs) -> GetModulesResponse: # noqa: E501 - """get_modules # noqa: E501 + """ - Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. # noqa: E501 + Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -373,9 +373,9 @@ def get_modules(self, start : Annotated[Optional[StrictStr], Field(description=" @validate_arguments def get_modules_with_http_info(self, start : Annotated[Optional[StrictStr], Field(description="Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array. ")] = None, limit : Annotated[Optional[conint(strict=True, le=100)], Field(description="Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100 ")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """get_modules # noqa: E501 + """ - Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. # noqa: E501 + Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -491,9 +491,9 @@ def get_modules_with_http_info(self, start : Annotated[Optional[StrictStr], Fiel @validate_arguments def release_chat_control(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], **kwargs) -> None: # noqa: E501 - """release_chat_control # noqa: E501 + """ - To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. # noqa: E501 + To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -520,9 +520,9 @@ def release_chat_control(self, chat_id : Annotated[StrictStr, Field(..., descrip @validate_arguments def release_chat_control_with_http_info(self, chat_id : Annotated[StrictStr, Field(..., description="The `userId`, `roomId`, or `groupId`")], **kwargs) -> ApiResponse: # noqa: E501 - """release_chat_control # noqa: E501 + """ - To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. # noqa: E501 + To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/moduleattach/api/async_line_module_attach.py b/linebot/v3/moduleattach/api/async_line_module_attach.py index 5ac27aacc..89f17f3c5 100644 --- a/linebot/v3/moduleattach/api/async_line_module_attach.py +++ b/linebot/v3/moduleattach/api/async_line_module_attach.py @@ -58,14 +58,9 @@ def attach_module(self, grant_type : Annotated[StrictStr, Field(..., description @validate_arguments def attach_module(self, grant_type : Annotated[StrictStr, Field(..., description="authorization_code")], code : Annotated[StrictStr, Field(..., description="Authorization code received from the LINE Platform.")], redirect_uri : Annotated[StrictStr, Field(..., description="Specify the redirect_uri specified in the URL for authentication and authorization.")], code_verifier : Annotated[Optional[StrictStr], Field(description="Specify when using PKCE (Proof Key for Code Exchange) defined in the OAuth 2.0 extension specification as a countermeasure against authorization code interception attacks.")] = None, client_id : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel ID of the module channel. You can find the channel ID of the module channel in the LINE Developers Console. ")] = None, client_secret : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel secret of the module channel. You can find the channel secret of the module channel in the LINE Developers Console. ")] = None, region : Annotated[Optional[StrictStr], Field(description="If you specified a value for region in the URL for authentication and authorization, specify the same value. ")] = None, basic_search_id : Annotated[Optional[StrictStr], Field(description="If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.")] = None, scope : Annotated[Optional[StrictStr], Field(description="If you specified a value for scope in the URL for authentication and authorization, specify the same value.")] = None, brand_type : Annotated[Optional[StrictStr], Field(description="If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[AttachModuleResponse, Awaitable[AttachModuleResponse]]: # noqa: E501 - """attach_module # noqa: E501 - - Attach by operation of the module channel provider # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.attach_module(grant_type, code, redirect_uri, code_verifier, client_id, client_secret, region, basic_search_id, scope, brand_type, async_req=True) - >>> result = thread.get() + Attach by operation of the module channel provider :param grant_type: authorization_code (required) :type grant_type: str @@ -94,8 +89,6 @@ def attach_module(self, grant_type : Annotated[StrictStr, Field(..., description timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: AttachModuleResponse """ kwargs['_return_http_data_only'] = True @@ -107,14 +100,9 @@ def attach_module(self, grant_type : Annotated[StrictStr, Field(..., description @validate_arguments def attach_module_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="authorization_code")], code : Annotated[StrictStr, Field(..., description="Authorization code received from the LINE Platform.")], redirect_uri : Annotated[StrictStr, Field(..., description="Specify the redirect_uri specified in the URL for authentication and authorization.")], code_verifier : Annotated[Optional[StrictStr], Field(description="Specify when using PKCE (Proof Key for Code Exchange) defined in the OAuth 2.0 extension specification as a countermeasure against authorization code interception attacks.")] = None, client_id : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel ID of the module channel. You can find the channel ID of the module channel in the LINE Developers Console. ")] = None, client_secret : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel secret of the module channel. You can find the channel secret of the module channel in the LINE Developers Console. ")] = None, region : Annotated[Optional[StrictStr], Field(description="If you specified a value for region in the URL for authentication and authorization, specify the same value. ")] = None, basic_search_id : Annotated[Optional[StrictStr], Field(description="If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.")] = None, scope : Annotated[Optional[StrictStr], Field(description="If you specified a value for scope in the URL for authentication and authorization, specify the same value.")] = None, brand_type : Annotated[Optional[StrictStr], Field(description="If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """attach_module # noqa: E501 - - Attach by operation of the module channel provider # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.attach_module_with_http_info(grant_type, code, redirect_uri, code_verifier, client_id, client_secret, region, basic_search_id, scope, brand_type, async_req=True) - >>> result = thread.get() + Attach by operation of the module channel provider :param grant_type: authorization_code (required) :type grant_type: str @@ -156,8 +144,6 @@ def attach_module_with_http_info(self, grant_type : Annotated[StrictStr, Field(. :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(AttachModuleResponse, status_code(int), headers(HTTPHeaderDict)) """ diff --git a/linebot/v3/moduleattach/api/line_module_attach.py b/linebot/v3/moduleattach/api/line_module_attach.py index e18bdac41..db4611db9 100644 --- a/linebot/v3/moduleattach/api/line_module_attach.py +++ b/linebot/v3/moduleattach/api/line_module_attach.py @@ -48,9 +48,9 @@ def __init__(self, api_client=None): @validate_arguments def attach_module(self, grant_type : Annotated[StrictStr, Field(..., description="authorization_code")], code : Annotated[StrictStr, Field(..., description="Authorization code received from the LINE Platform.")], redirect_uri : Annotated[StrictStr, Field(..., description="Specify the redirect_uri specified in the URL for authentication and authorization.")], code_verifier : Annotated[Optional[StrictStr], Field(description="Specify when using PKCE (Proof Key for Code Exchange) defined in the OAuth 2.0 extension specification as a countermeasure against authorization code interception attacks.")] = None, client_id : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel ID of the module channel. You can find the channel ID of the module channel in the LINE Developers Console. ")] = None, client_secret : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel secret of the module channel. You can find the channel secret of the module channel in the LINE Developers Console. ")] = None, region : Annotated[Optional[StrictStr], Field(description="If you specified a value for region in the URL for authentication and authorization, specify the same value. ")] = None, basic_search_id : Annotated[Optional[StrictStr], Field(description="If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.")] = None, scope : Annotated[Optional[StrictStr], Field(description="If you specified a value for scope in the URL for authentication and authorization, specify the same value.")] = None, brand_type : Annotated[Optional[StrictStr], Field(description="If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.")] = None, **kwargs) -> AttachModuleResponse: # noqa: E501 - """attach_module # noqa: E501 + """ - Attach by operation of the module channel provider # noqa: E501 + Attach by operation of the module channel provider This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -95,9 +95,9 @@ def attach_module(self, grant_type : Annotated[StrictStr, Field(..., description @validate_arguments def attach_module_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="authorization_code")], code : Annotated[StrictStr, Field(..., description="Authorization code received from the LINE Platform.")], redirect_uri : Annotated[StrictStr, Field(..., description="Specify the redirect_uri specified in the URL for authentication and authorization.")], code_verifier : Annotated[Optional[StrictStr], Field(description="Specify when using PKCE (Proof Key for Code Exchange) defined in the OAuth 2.0 extension specification as a countermeasure against authorization code interception attacks.")] = None, client_id : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel ID of the module channel. You can find the channel ID of the module channel in the LINE Developers Console. ")] = None, client_secret : Annotated[Optional[StrictStr], Field(description="Instead of using Authorization header, you can use this parameter to specify the channel secret of the module channel. You can find the channel secret of the module channel in the LINE Developers Console. ")] = None, region : Annotated[Optional[StrictStr], Field(description="If you specified a value for region in the URL for authentication and authorization, specify the same value. ")] = None, basic_search_id : Annotated[Optional[StrictStr], Field(description="If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.")] = None, scope : Annotated[Optional[StrictStr], Field(description="If you specified a value for scope in the URL for authentication and authorization, specify the same value.")] = None, brand_type : Annotated[Optional[StrictStr], Field(description="If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.")] = None, **kwargs) -> ApiResponse: # noqa: E501 - """attach_module # noqa: E501 + """ - Attach by operation of the module channel provider # noqa: E501 + Attach by operation of the module channel provider This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/oauth/api/async_channel_access_token.py b/linebot/v3/oauth/api/async_channel_access_token.py index dd1c2b60f..ab5e6d07e 100644 --- a/linebot/v3/oauth/api/async_channel_access_token.py +++ b/linebot/v3/oauth/api/async_channel_access_token.py @@ -60,14 +60,9 @@ def gets_all_valid_channel_access_token_key_ids(self, client_assertion_type : An @validate_arguments def gets_all_valid_channel_access_token_key_ids(self, client_assertion_type : Annotated[StrictStr, Field(..., description="`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token (JWT) (opens new window)the client needs to create and sign with the private key.")], async_req: Optional[bool]=None, **kwargs) -> Union[ChannelAccessTokenKeyIdsResponse, Awaitable[ChannelAccessTokenKeyIdsResponse]]: # noqa: E501 - """gets_all_valid_channel_access_token_key_ids # noqa: E501 - - Gets all valid channel access token key IDs. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.gets_all_valid_channel_access_token_key_ids(client_assertion_type, client_assertion, async_req=True) - >>> result = thread.get() + Gets all valid channel access token key IDs. :param client_assertion_type: `urn:ietf:params:oauth:client-assertion-type:jwt-bearer` (required) :type client_assertion_type: str @@ -80,8 +75,6 @@ def gets_all_valid_channel_access_token_key_ids(self, client_assertion_type : An timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: ChannelAccessTokenKeyIdsResponse """ kwargs['_return_http_data_only'] = True @@ -93,14 +86,9 @@ def gets_all_valid_channel_access_token_key_ids(self, client_assertion_type : An @validate_arguments def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_assertion_type : Annotated[StrictStr, Field(..., description="`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token (JWT) (opens new window)the client needs to create and sign with the private key.")], **kwargs) -> ApiResponse: # noqa: E501 - """gets_all_valid_channel_access_token_key_ids # noqa: E501 - - Gets all valid channel access token key IDs. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.gets_all_valid_channel_access_token_key_ids_with_http_info(client_assertion_type, client_assertion, async_req=True) - >>> result = thread.get() + Gets all valid channel access token key IDs. :param client_assertion_type: `urn:ietf:params:oauth:client-assertion-type:jwt-bearer` (required) :type client_assertion_type: str @@ -126,8 +114,6 @@ def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_asse :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(ChannelAccessTokenKeyIdsResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -219,14 +205,9 @@ def issue_channel_token(self, grant_type : Annotated[StrictStr, Field(..., descr @validate_arguments def issue_channel_token(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], async_req: Optional[bool]=None, **kwargs) -> Union[IssueShortLivedChannelAccessTokenResponse, Awaitable[IssueShortLivedChannelAccessTokenResponse]]: # noqa: E501 - """issue_channel_token # noqa: E501 - - Issue short-lived channel access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.issue_channel_token(grant_type, client_id, client_secret, async_req=True) - >>> result = thread.get() + Issue short-lived channel access token :param grant_type: `client_credentials` (required) :type grant_type: str @@ -241,8 +222,6 @@ def issue_channel_token(self, grant_type : Annotated[StrictStr, Field(..., descr timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: IssueShortLivedChannelAccessTokenResponse """ kwargs['_return_http_data_only'] = True @@ -254,14 +233,9 @@ def issue_channel_token(self, grant_type : Annotated[StrictStr, Field(..., descr @validate_arguments def issue_channel_token_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_channel_token # noqa: E501 - - Issue short-lived channel access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.issue_channel_token_with_http_info(grant_type, client_id, client_secret, async_req=True) - >>> result = thread.get() + Issue short-lived channel access token :param grant_type: `client_credentials` (required) :type grant_type: str @@ -289,8 +263,6 @@ def issue_channel_token_with_http_info(self, grant_type : Annotated[StrictStr, F :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(IssueShortLivedChannelAccessTokenResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -394,14 +366,9 @@ def issue_channel_token_by_jwt(self, grant_type : Annotated[StrictStr, Field(... @validate_arguments def issue_channel_token_by_jwt(self, grant_type : Annotated[StrictStr, Field(..., description="client_credentials")], client_assertion_type : Annotated[StrictStr, Field(..., description="urn:ietf:params:oauth:client-assertion-type:jwt-bearer")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], async_req: Optional[bool]=None, **kwargs) -> Union[IssueChannelAccessTokenResponse, Awaitable[IssueChannelAccessTokenResponse]]: # noqa: E501 - """issue_channel_token_by_jwt # noqa: E501 - - Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.issue_channel_token_by_jwt(grant_type, client_assertion_type, client_assertion, async_req=True) - >>> result = thread.get() + Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. :param grant_type: client_credentials (required) :type grant_type: str @@ -416,8 +383,6 @@ def issue_channel_token_by_jwt(self, grant_type : Annotated[StrictStr, Field(... timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: IssueChannelAccessTokenResponse """ kwargs['_return_http_data_only'] = True @@ -429,14 +394,9 @@ def issue_channel_token_by_jwt(self, grant_type : Annotated[StrictStr, Field(... @validate_arguments def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="client_credentials")], client_assertion_type : Annotated[StrictStr, Field(..., description="urn:ietf:params:oauth:client-assertion-type:jwt-bearer")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_channel_token_by_jwt # noqa: E501 - - Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.issue_channel_token_by_jwt_with_http_info(grant_type, client_assertion_type, client_assertion, async_req=True) - >>> result = thread.get() + Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. :param grant_type: client_credentials (required) :type grant_type: str @@ -464,8 +424,6 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Stric :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(IssueChannelAccessTokenResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -568,18 +526,13 @@ def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field( @validate_arguments def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_assertion_type : Annotated[StrictStr, Field(..., description="URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], async_req: Optional[bool]=None, **kwargs) -> Union[IssueStatelessChannelAccessTokenResponse, Awaitable[IssueStatelessChannelAccessTokenResponse]]: # noqa: E501 - """issue_stateless_channel_token # noqa: E501 + """ .. deprecated:: Use :func:`issue_stateless_channel_token_by_jwt_assertion` or :func:`issue_stateless_channel_token_by_client_secret` instead. - Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.issue_stateless_channel_token(grant_type, client_assertion_type, client_assertion, client_id, client_secret, async_req=True) - >>> result = thread.get() + Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. :param grant_type: `client_credentials` (required) :type grant_type: str @@ -598,8 +551,6 @@ def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field( timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: IssueStatelessChannelAccessTokenResponse """ kwargs['_return_http_data_only'] = True @@ -611,18 +562,13 @@ def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field( @validate_arguments def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_assertion_type : Annotated[StrictStr, Field(..., description="URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_stateless_channel_token # noqa: E501 + """ .. deprecated:: Use :func:`issue_stateless_channel_token_with_http_info_by_jwt_assertion` or :func:`issue_stateless_channel_token_with_http_info_by_client_secret` instead. - Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.issue_stateless_channel_token_with_http_info(grant_type, client_assertion_type, client_assertion, client_id, client_secret, async_req=True) - >>> result = thread.get() + Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. :param grant_type: `client_credentials` (required) :type grant_type: str @@ -654,8 +600,6 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[St :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(IssueStatelessChannelAccessTokenResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -766,14 +710,9 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de @validate_arguments def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """revoke_channel_token # noqa: E501 - - Revoke short-lived or long-lived channel access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.revoke_channel_token(access_token, async_req=True) - >>> result = thread.get() + Revoke short-lived or long-lived channel access token :param access_token: Channel access token (required) :type access_token: str @@ -784,8 +723,6 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -797,14 +734,9 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de @validate_arguments def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> ApiResponse: # noqa: E501 - """revoke_channel_token # noqa: E501 - - Revoke short-lived or long-lived channel access token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.revoke_channel_token_with_http_info(access_token, async_req=True) - >>> result = thread.get() + Revoke short-lived or long-lived channel access token :param access_token: Channel access token (required) :type access_token: str @@ -828,8 +760,6 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -918,14 +848,9 @@ def revoke_channel_token_by_jwt(self, client_id : Annotated[StrictStr, Field(... @validate_arguments def revoke_channel_token_by_jwt(self, client_id : Annotated[StrictStr, Field(..., description="Channel ID")], client_secret : Annotated[StrictStr, Field(..., description="Channel Secret")], access_token : Annotated[StrictStr, Field(..., description="Channel access token")], async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """revoke_channel_token_by_jwt # noqa: E501 - - Revoke channel access token v2.1 # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.revoke_channel_token_by_jwt(client_id, client_secret, access_token, async_req=True) - >>> result = thread.get() + Revoke channel access token v2.1 :param client_id: Channel ID (required) :type client_id: str @@ -940,8 +865,6 @@ def revoke_channel_token_by_jwt(self, client_id : Annotated[StrictStr, Field(... timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -953,14 +876,9 @@ def revoke_channel_token_by_jwt(self, client_id : Annotated[StrictStr, Field(... @validate_arguments def revoke_channel_token_by_jwt_with_http_info(self, client_id : Annotated[StrictStr, Field(..., description="Channel ID")], client_secret : Annotated[StrictStr, Field(..., description="Channel Secret")], access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> ApiResponse: # noqa: E501 - """revoke_channel_token_by_jwt # noqa: E501 - - Revoke channel access token v2.1 # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.revoke_channel_token_by_jwt_with_http_info(client_id, client_secret, access_token, async_req=True) - >>> result = thread.get() + Revoke channel access token v2.1 :param client_id: Channel ID (required) :type client_id: str @@ -988,8 +906,6 @@ def revoke_channel_token_by_jwt_with_http_info(self, client_id : Annotated[Stric :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ @@ -1086,14 +1002,9 @@ def verify_channel_token(self, access_token : Annotated[StrictStr, Field(..., de @validate_arguments def verify_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], async_req: Optional[bool]=None, **kwargs) -> Union[VerifyChannelAccessTokenResponse, Awaitable[VerifyChannelAccessTokenResponse]]: # noqa: E501 - """verify_channel_token # noqa: E501 - - Verify the validity of short-lived and long-lived channel access tokens # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.verify_channel_token(access_token, async_req=True) - >>> result = thread.get() + Verify the validity of short-lived and long-lived channel access tokens :param access_token: A short-lived or long-lived channel access token. (required) :type access_token: str @@ -1104,8 +1015,6 @@ def verify_channel_token(self, access_token : Annotated[StrictStr, Field(..., de timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: VerifyChannelAccessTokenResponse """ kwargs['_return_http_data_only'] = True @@ -1117,14 +1026,9 @@ def verify_channel_token(self, access_token : Annotated[StrictStr, Field(..., de @validate_arguments def verify_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> ApiResponse: # noqa: E501 - """verify_channel_token # noqa: E501 - - Verify the validity of short-lived and long-lived channel access tokens # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.verify_channel_token_with_http_info(access_token, async_req=True) - >>> result = thread.get() + Verify the validity of short-lived and long-lived channel access tokens :param access_token: A short-lived or long-lived channel access token. (required) :type access_token: str @@ -1148,8 +1052,6 @@ def verify_channel_token_with_http_info(self, access_token : Annotated[StrictStr :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(VerifyChannelAccessTokenResponse, status_code(int), headers(HTTPHeaderDict)) """ @@ -1244,14 +1146,9 @@ def verify_channel_token_by_jwt(self, access_token : Annotated[StrictStr, Field( @validate_arguments def verify_channel_token_by_jwt(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token with a user-specified expiration (Channel Access Token v2.1).")], async_req: Optional[bool]=None, **kwargs) -> Union[VerifyChannelAccessTokenResponse, Awaitable[VerifyChannelAccessTokenResponse]]: # noqa: E501 - """verify_channel_token_by_jwt # noqa: E501 - - You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.verify_channel_token_by_jwt(access_token, async_req=True) - >>> result = thread.get() + You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. :param access_token: Channel access token with a user-specified expiration (Channel Access Token v2.1). (required) :type access_token: str @@ -1262,8 +1159,6 @@ def verify_channel_token_by_jwt(self, access_token : Annotated[StrictStr, Field( timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: VerifyChannelAccessTokenResponse """ kwargs['_return_http_data_only'] = True @@ -1275,14 +1170,9 @@ def verify_channel_token_by_jwt(self, access_token : Annotated[StrictStr, Field( @validate_arguments def verify_channel_token_by_jwt_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token with a user-specified expiration (Channel Access Token v2.1).")], **kwargs) -> ApiResponse: # noqa: E501 - """verify_channel_token_by_jwt # noqa: E501 - - You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.verify_channel_token_by_jwt_with_http_info(access_token, async_req=True) - >>> result = thread.get() + You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. :param access_token: Channel access token with a user-specified expiration (Channel Access Token v2.1). (required) :type access_token: str @@ -1306,8 +1196,6 @@ def verify_channel_token_by_jwt_with_http_info(self, access_token : Annotated[St :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(VerifyChannelAccessTokenResponse, status_code(int), headers(HTTPHeaderDict)) """ diff --git a/linebot/v3/oauth/api/channel_access_token.py b/linebot/v3/oauth/api/channel_access_token.py index e1c1af7c5..35c4a9f89 100644 --- a/linebot/v3/oauth/api/channel_access_token.py +++ b/linebot/v3/oauth/api/channel_access_token.py @@ -50,9 +50,9 @@ def __init__(self, api_client=None): @validate_arguments def gets_all_valid_channel_access_token_key_ids(self, client_assertion_type : Annotated[StrictStr, Field(..., description="`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token (JWT) (opens new window)the client needs to create and sign with the private key.")], **kwargs) -> ChannelAccessTokenKeyIdsResponse: # noqa: E501 - """gets_all_valid_channel_access_token_key_ids # noqa: E501 + """ - Gets all valid channel access token key IDs. # noqa: E501 + Gets all valid channel access token key IDs. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -81,9 +81,9 @@ def gets_all_valid_channel_access_token_key_ids(self, client_assertion_type : An @validate_arguments def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_assertion_type : Annotated[StrictStr, Field(..., description="`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token (JWT) (opens new window)the client needs to create and sign with the private key.")], **kwargs) -> ApiResponse: # noqa: E501 - """gets_all_valid_channel_access_token_key_ids # noqa: E501 + """ - Gets all valid channel access token key IDs. # noqa: E501 + Gets all valid channel access token key IDs. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -199,9 +199,9 @@ def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_asse @validate_arguments def issue_channel_token(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], **kwargs) -> IssueShortLivedChannelAccessTokenResponse: # noqa: E501 - """issue_channel_token # noqa: E501 + """ - Issue short-lived channel access token # noqa: E501 + Issue short-lived channel access token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -232,9 +232,9 @@ def issue_channel_token(self, grant_type : Annotated[StrictStr, Field(..., descr @validate_arguments def issue_channel_token_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_channel_token # noqa: E501 + """ - Issue short-lived channel access token # noqa: E501 + Issue short-lived channel access token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -364,9 +364,9 @@ def issue_channel_token_with_http_info(self, grant_type : Annotated[StrictStr, F @validate_arguments def issue_channel_token_by_jwt(self, grant_type : Annotated[StrictStr, Field(..., description="client_credentials")], client_assertion_type : Annotated[StrictStr, Field(..., description="urn:ietf:params:oauth:client-assertion-type:jwt-bearer")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], **kwargs) -> IssueChannelAccessTokenResponse: # noqa: E501 - """issue_channel_token_by_jwt # noqa: E501 + """ - Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. # noqa: E501 + Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -397,9 +397,9 @@ def issue_channel_token_by_jwt(self, grant_type : Annotated[StrictStr, Field(... @validate_arguments def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="client_credentials")], client_assertion_type : Annotated[StrictStr, Field(..., description="urn:ietf:params:oauth:client-assertion-type:jwt-bearer")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_channel_token_by_jwt # noqa: E501 + """ - Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. # noqa: E501 + Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -528,13 +528,13 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Stric @validate_arguments def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_assertion_type : Annotated[StrictStr, Field(..., description="URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], **kwargs) -> IssueStatelessChannelAccessTokenResponse: # noqa: E501 - """issue_stateless_channel_token # noqa: E501 + """ .. deprecated:: Use :func:`issue_stateless_channel_token_by_jwt_assertion` or :func:`issue_stateless_channel_token_by_client_secret` instead. - Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. # noqa: E501 + Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -569,13 +569,13 @@ def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field( @validate_arguments def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[StrictStr, Field(..., description="`client_credentials`")], client_assertion_type : Annotated[StrictStr, Field(..., description="URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`")], client_assertion : Annotated[StrictStr, Field(..., description="A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.")], client_id : Annotated[StrictStr, Field(..., description="Channel ID.")], client_secret : Annotated[StrictStr, Field(..., description="Channel secret.")], **kwargs) -> ApiResponse: # noqa: E501 - """issue_stateless_channel_token # noqa: E501 + """ .. deprecated:: Use :func:`issue_stateless_channel_token_with_http_info_by_jwt_assertion` or :func:`issue_stateless_channel_token_with_http_info_by_client_secret` instead. - Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. # noqa: E501 + Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -716,9 +716,9 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[St @validate_arguments def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> None: # noqa: E501 - """revoke_channel_token # noqa: E501 + """ - Revoke short-lived or long-lived channel access token # noqa: E501 + Revoke short-lived or long-lived channel access token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -745,9 +745,9 @@ def revoke_channel_token(self, access_token : Annotated[StrictStr, Field(..., de @validate_arguments def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> ApiResponse: # noqa: E501 - """revoke_channel_token # noqa: E501 + """ - Revoke short-lived or long-lived channel access token # noqa: E501 + Revoke short-lived or long-lived channel access token This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -858,9 +858,9 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[StrictStr @validate_arguments def revoke_channel_token_by_jwt(self, client_id : Annotated[StrictStr, Field(..., description="Channel ID")], client_secret : Annotated[StrictStr, Field(..., description="Channel Secret")], access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> None: # noqa: E501 - """revoke_channel_token_by_jwt # noqa: E501 + """ - Revoke channel access token v2.1 # noqa: E501 + Revoke channel access token v2.1 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -891,9 +891,9 @@ def revoke_channel_token_by_jwt(self, client_id : Annotated[StrictStr, Field(... @validate_arguments def revoke_channel_token_by_jwt_with_http_info(self, client_id : Annotated[StrictStr, Field(..., description="Channel ID")], client_secret : Annotated[StrictStr, Field(..., description="Channel Secret")], access_token : Annotated[StrictStr, Field(..., description="Channel access token")], **kwargs) -> ApiResponse: # noqa: E501 - """revoke_channel_token_by_jwt # noqa: E501 + """ - Revoke channel access token v2.1 # noqa: E501 + Revoke channel access token v2.1 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1016,9 +1016,9 @@ def revoke_channel_token_by_jwt_with_http_info(self, client_id : Annotated[Stric @validate_arguments def verify_channel_token(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> VerifyChannelAccessTokenResponse: # noqa: E501 - """verify_channel_token # noqa: E501 + """ - Verify the validity of short-lived and long-lived channel access tokens # noqa: E501 + Verify the validity of short-lived and long-lived channel access tokens This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1045,9 +1045,9 @@ def verify_channel_token(self, access_token : Annotated[StrictStr, Field(..., de @validate_arguments def verify_channel_token_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="A short-lived or long-lived channel access token.")], **kwargs) -> ApiResponse: # noqa: E501 - """verify_channel_token # noqa: E501 + """ - Verify the validity of short-lived and long-lived channel access tokens # noqa: E501 + Verify the validity of short-lived and long-lived channel access tokens This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1164,9 +1164,9 @@ def verify_channel_token_with_http_info(self, access_token : Annotated[StrictStr @validate_arguments def verify_channel_token_by_jwt(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token with a user-specified expiration (Channel Access Token v2.1).")], **kwargs) -> VerifyChannelAccessTokenResponse: # noqa: E501 - """verify_channel_token_by_jwt # noqa: E501 + """ - You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. # noqa: E501 + You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1193,9 +1193,9 @@ def verify_channel_token_by_jwt(self, access_token : Annotated[StrictStr, Field( @validate_arguments def verify_channel_token_by_jwt_with_http_info(self, access_token : Annotated[StrictStr, Field(..., description="Channel access token with a user-specified expiration (Channel Access Token v2.1).")], **kwargs) -> ApiResponse: # noqa: E501 - """verify_channel_token_by_jwt # noqa: E501 + """ - You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. # noqa: E501 + You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/shop/api/async_shop.py b/linebot/v3/shop/api/async_shop.py index 9240c7bdb..e3e15453e 100644 --- a/linebot/v3/shop/api/async_shop.py +++ b/linebot/v3/shop/api/async_shop.py @@ -54,14 +54,9 @@ def mission_sticker_v3(self, mission_sticker_request : MissionStickerRequest, as @validate_arguments def mission_sticker_v3(self, mission_sticker_request : MissionStickerRequest, async_req: Optional[bool]=None, **kwargs) -> Union[None, Awaitable[None]]: # noqa: E501 - """mission_sticker_v3 # noqa: E501 - - Sends a mission sticker. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.mission_sticker_v3(mission_sticker_request, async_req=True) - >>> result = thread.get() + Sends a mission sticker. :param mission_sticker_request: (required) :type mission_sticker_request: MissionStickerRequest @@ -72,8 +67,6 @@ def mission_sticker_v3(self, mission_sticker_request : MissionStickerRequest, as timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ kwargs['_return_http_data_only'] = True @@ -85,14 +78,9 @@ def mission_sticker_v3(self, mission_sticker_request : MissionStickerRequest, as @validate_arguments def mission_sticker_v3_with_http_info(self, mission_sticker_request : MissionStickerRequest, **kwargs) -> ApiResponse: # noqa: E501 - """mission_sticker_v3 # noqa: E501 - - Sends a mission sticker. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.mission_sticker_v3_with_http_info(mission_sticker_request, async_req=True) - >>> result = thread.get() + Sends a mission sticker. :param mission_sticker_request: (required) :type mission_sticker_request: MissionStickerRequest @@ -116,8 +104,6 @@ def mission_sticker_v3_with_http_info(self, mission_sticker_request : MissionSti :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: None """ diff --git a/linebot/v3/shop/api/shop.py b/linebot/v3/shop/api/shop.py index 816a42bdc..433404d66 100644 --- a/linebot/v3/shop/api/shop.py +++ b/linebot/v3/shop/api/shop.py @@ -44,9 +44,9 @@ def __init__(self, api_client=None): @validate_arguments def mission_sticker_v3(self, mission_sticker_request : MissionStickerRequest, **kwargs) -> None: # noqa: E501 - """mission_sticker_v3 # noqa: E501 + """ - Sends a mission sticker. # noqa: E501 + Sends a mission sticker. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -73,9 +73,9 @@ def mission_sticker_v3(self, mission_sticker_request : MissionStickerRequest, ** @validate_arguments def mission_sticker_v3_with_http_info(self, mission_sticker_request : MissionStickerRequest, **kwargs) -> ApiResponse: # noqa: E501 - """mission_sticker_v3 # noqa: E501 + """ - Sends a mission sticker. # noqa: E501 + Sends a mission sticker. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/linebot/v3/webhooks/api/async_dummy.py b/linebot/v3/webhooks/api/async_dummy.py index d597c354e..b62e2ebb7 100644 --- a/linebot/v3/webhooks/api/async_dummy.py +++ b/linebot/v3/webhooks/api/async_dummy.py @@ -54,14 +54,9 @@ def callback(self, callback_request : CallbackRequest, async_req: Optional[bool] @validate_arguments def callback(self, callback_request : CallbackRequest, async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501 - """callback # noqa: E501 - - This is the dummy endpoint to generate the model classes # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.callback(callback_request, async_req=True) - >>> result = thread.get() + This is the dummy endpoint to generate the model classes :param callback_request: (required) :type callback_request: CallbackRequest @@ -72,8 +67,6 @@ def callback(self, callback_request : CallbackRequest, async_req: Optional[bool] timeout. It can also be a pair (tuple) of (connection, read) timeouts. :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: str """ kwargs['_return_http_data_only'] = True @@ -85,14 +78,9 @@ def callback(self, callback_request : CallbackRequest, async_req: Optional[bool] @validate_arguments def callback_with_http_info(self, callback_request : CallbackRequest, **kwargs) -> ApiResponse: # noqa: E501 - """callback # noqa: E501 - - This is the dummy endpoint to generate the model classes # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + """ - >>> thread = api.callback_with_http_info(callback_request, async_req=True) - >>> result = thread.get() + This is the dummy endpoint to generate the model classes :param callback_request: (required) :type callback_request: CallbackRequest @@ -116,8 +104,6 @@ def callback_with_http_info(self, callback_request : CallbackRequest, **kwargs) :type _request_auth: dict, optional :type _content_type: string, optional: force content-type for the request :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict)) """ diff --git a/linebot/v3/webhooks/api/dummy.py b/linebot/v3/webhooks/api/dummy.py index 92a2131cd..b6b7c8ea6 100644 --- a/linebot/v3/webhooks/api/dummy.py +++ b/linebot/v3/webhooks/api/dummy.py @@ -44,9 +44,9 @@ def __init__(self, api_client=None): @validate_arguments def callback(self, callback_request : CallbackRequest, **kwargs) -> str: # noqa: E501 - """callback # noqa: E501 + """ - This is the dummy endpoint to generate the model classes # noqa: E501 + This is the dummy endpoint to generate the model classes This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -73,9 +73,9 @@ def callback(self, callback_request : CallbackRequest, **kwargs) -> str: # noqa @validate_arguments def callback_with_http_info(self, callback_request : CallbackRequest, **kwargs) -> ApiResponse: # noqa: E501 - """callback # noqa: E501 + """ - This is the dummy endpoint to generate the model classes # noqa: E501 + This is the dummy endpoint to generate the model classes This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True