@qqbrowser/openclaw-qbot 0.10.11 → 0.10.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (878) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/canvas-host/a2ui/a2ui.bundle.js +67 -57
  4. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  5. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -2
  6. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +5 -5
  7. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +46 -50
  8. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +3 -3
  9. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +16 -18
  10. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +21 -26
  11. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +2 -2
  12. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +9 -10
  13. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +7 -4
  14. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +1 -1
  15. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js +7 -10
  16. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  17. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -2
  18. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -2
  19. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
  20. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -2
  21. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -2
  22. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -2
  23. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -2
  24. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -2
  25. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -2
  26. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -2
  27. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/bdd.js +1 -1
  28. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js +2 -2
  29. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js +1 -1
  30. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js +1 -0
  31. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +6 -8
  32. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +6 -11
  33. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +1 -1
  34. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +3 -4
  35. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js +3 -3
  36. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +7 -4
  37. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +13 -46
  38. package/node_modules/@aws-sdk/core/dist-cjs/index.js +67 -55
  39. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -2
  40. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +595 -0
  41. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +717 -2
  42. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +588 -0
  43. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
  44. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -39
  45. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +59 -0
  46. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  47. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  48. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +36 -0
  49. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +26 -4
  50. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +37 -0
  51. package/node_modules/@aws-sdk/{middleware-host-header/dist-es/index.js → core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js} +1 -1
  52. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.js +3 -0
  53. package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.js +1 -1
  54. package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/check-features.js +2 -2
  55. package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/user-agent-middleware.js +2 -2
  56. package/node_modules/@aws-sdk/core/dist-es/submodules/client/region-config-resolver/awsRegionConfig.js +2 -0
  57. package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.js +1 -2
  58. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +1 -1
  59. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/aws.js +1 -1
  60. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/isVirtualHostableS3Bucket.js +1 -1
  61. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/partition.js +1 -1
  62. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +1 -0
  63. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/isIpAddress.js +1 -0
  64. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/resolveDefaultAwsRegionalEndpointsConfig.js +1 -1
  65. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/resolveEndpoint.js +1 -0
  66. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/types/EndpointError.js +1 -0
  67. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -0
  68. package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getTypeScriptUserAgentPair.js +1 -1
  69. package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/nodeAppIdConfigOptions.js +1 -1
  70. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -1
  71. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -1
  72. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +1 -1
  73. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
  74. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -1
  75. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
  76. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -2
  77. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +7 -6
  78. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  79. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
  80. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  81. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +1 -1
  82. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  83. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +26 -11
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -3
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
  87. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
  88. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -3
  89. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +1 -1
  90. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +2 -0
  91. package/node_modules/@aws-sdk/{util-format-url/dist-es/index.js → core/dist-es/submodules/util/util-format-url/format-url.js} +1 -1
  92. package/node_modules/@aws-sdk/core/package.json +39 -17
  93. package/node_modules/@aws-sdk/core/util.js +5 -0
  94. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -2
  95. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +1 -1
  96. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  97. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  98. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -2
  99. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +15 -9
  100. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +10 -10
  101. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +7 -5
  102. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +1 -1
  103. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +1 -1
  104. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +13 -7
  105. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -4
  106. package/node_modules/@aws-sdk/credential-provider-http/package.json +18 -12
  107. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -10
  108. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  109. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
  110. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +1 -1
  111. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  112. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -14
  113. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +14 -15
  114. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +2 -3
  115. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +1 -2
  116. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -8
  117. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +19 -9
  118. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -2
  119. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +1 -1
  120. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
  121. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -12
  122. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +7 -8
  123. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -1
  124. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -2
  125. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -6
  126. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +16 -17
  127. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +1 -2
  128. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -3
  129. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +1 -1
  130. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -8
  131. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -4
  132. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -34
  133. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -2
  134. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -7
  135. package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +2 -2
  136. package/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js +1 -1
  137. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -5
  138. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -3
  139. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +1 -1
  140. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +1 -1
  141. package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
  142. package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +13 -15
  143. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js +5 -5
  144. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js +1 -1
  145. package/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js +1 -1
  146. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventSigningTransformStream.js +1 -1
  147. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventStreamPayloadHandler.js +1 -1
  148. package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -12
  149. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +524 -63
  150. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +458 -60
  151. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +403 -60
  152. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +597 -60
  153. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +831 -58
  154. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
  155. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +6 -9
  156. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
  157. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -2
  158. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -2
  159. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +1 -1
  160. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
  161. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -1
  162. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +5 -7
  163. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +5 -10
  164. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +3 -4
  165. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js +3 -3
  166. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  167. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +6 -9
  168. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  169. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
  170. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +1 -1
  171. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +2 -2
  172. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -1
  173. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +5 -7
  174. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +5 -10
  175. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +3 -4
  176. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +3 -3
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +6 -9
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
  180. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -2
  181. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +1 -1
  182. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +2 -2
  183. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -1
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +5 -7
  185. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +5 -10
  186. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +3 -4
  187. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +3 -3
  188. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
  189. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +6 -9
  190. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  191. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
  192. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +1 -1
  193. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -1
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +5 -7
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +5 -10
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +3 -4
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +3 -3
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +6 -9
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -10
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -7
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +1 -1
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +2 -2
  207. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -1
  208. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +5 -7
  209. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +5 -10
  210. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +3 -4
  211. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +3 -3
  212. package/node_modules/@aws-sdk/nested-clients/package.json +8 -37
  213. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +38 -2
  214. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +2 -2
  215. package/node_modules/@aws-sdk/{middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js → signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js} +5 -10
  216. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +3 -2
  217. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -6
  218. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -19
  219. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +1 -1
  220. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -2
  221. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  222. package/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +1 -1
  223. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +1 -1
  224. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +1 -1
  225. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  226. package/node_modules/@aws-sdk/token-providers/package.json +6 -7
  227. package/node_modules/@aws-sdk/types/package.json +2 -2
  228. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +60 -0
  229. package/node_modules/@aws-sdk/xml-builder/package.json +6 -6
  230. package/node_modules/@babel/runtime/package.json +1 -1
  231. package/node_modules/@cacheable/memory/package.json +2 -6
  232. package/node_modules/@clack/core/dist/index.mjs +9 -9
  233. package/node_modules/@clack/core/package.json +2 -1
  234. package/node_modules/@clack/prompts/dist/index.mjs +122 -121
  235. package/node_modules/@clack/prompts/package.json +2 -2
  236. package/node_modules/@grammyjs/types/package.json +1 -1
  237. package/node_modules/@nodable/entities/package.json +1 -1
  238. package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
  239. package/node_modules/@nodable/entities/src/entities.js +0 -18
  240. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +440 -73
  241. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +71 -12
  242. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +298 -35
  243. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +1 -12
  244. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +1 -12
  245. package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +1 -12
  246. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +1 -12
  247. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +1 -12
  248. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +78 -13
  249. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +1 -12
  250. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +1 -12
  251. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +1 -12
  252. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +1 -12
  253. package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +2 -13
  254. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +440 -73
  255. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +71 -12
  256. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +298 -35
  257. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +1 -12
  258. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +1 -12
  259. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +1 -12
  260. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +1 -12
  261. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +1 -12
  262. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +78 -13
  263. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +1 -12
  264. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +1 -12
  265. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +1 -12
  266. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +1 -12
  267. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +2 -13
  268. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +469 -97
  269. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +72 -13
  270. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +307 -43
  271. package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +1 -12
  272. package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +1 -12
  273. package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +1 -12
  274. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +1 -12
  275. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +1 -12
  276. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +81 -16
  277. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +1 -12
  278. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +1 -12
  279. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +1 -12
  280. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +1 -12
  281. package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +2 -13
  282. package/node_modules/@opentelemetry/semantic-conventions/package.json +2 -2
  283. package/node_modules/@protobufjs/eventemitter/index.js +17 -7
  284. package/node_modules/@protobufjs/eventemitter/package.json +2 -2
  285. package/node_modules/@protobufjs/fetch/index.js +4 -7
  286. package/node_modules/@protobufjs/fetch/package.json +7 -5
  287. package/node_modules/@protobufjs/fetch/util/fs.js +11 -0
  288. package/node_modules/@protobufjs/inquire/index.js +1 -0
  289. package/node_modules/@protobufjs/inquire/package.json +1 -1
  290. package/node_modules/@slack/bolt/dist/App.js +8 -12
  291. package/node_modules/@slack/bolt/dist/context/index.js +7 -7
  292. package/node_modules/@slack/bolt/dist/index.js +16 -16
  293. package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js +2 -0
  294. package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.js +8 -1
  295. package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js +4 -2
  296. package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +1 -1
  297. package/node_modules/@slack/bolt/dist/receivers/verify-request.js +3 -0
  298. package/node_modules/@slack/bolt/dist/receivers/verify-signing-secret.js +12 -0
  299. package/node_modules/@slack/bolt/dist/types/actions/index.js +1 -1
  300. package/node_modules/@slack/bolt/dist/types/index.js +3 -3
  301. package/node_modules/@slack/bolt/package.json +4 -4
  302. package/node_modules/@slack/web-api/dist/file-upload.js +4 -2
  303. package/node_modules/@slack/web-api/package.json +2 -2
  304. package/node_modules/@smithy/core/cbor.js +0 -1
  305. package/node_modules/@smithy/core/checksum.js +1 -1
  306. package/node_modules/@smithy/core/client.js +0 -1
  307. package/node_modules/@smithy/core/config.js +1 -1
  308. package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
  309. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
  310. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
  311. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
  312. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
  313. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
  314. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
  315. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
  316. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
  317. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
  318. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
  319. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
  320. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +128 -176
  321. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +183 -87
  322. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +128 -176
  323. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
  324. package/node_modules/@smithy/core/dist-es/index.js +6 -6
  325. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  326. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
  327. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
  328. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
  329. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
  330. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
  331. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
  332. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
  333. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  334. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
  335. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  336. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
  337. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
  338. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
  339. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
  340. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
  341. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
  342. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
  343. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
  344. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
  345. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
  346. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
  347. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +12 -7
  348. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +9 -5
  349. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +10 -3
  350. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
  351. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js +1 -1
  352. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js +19 -21
  353. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js +1 -1
  354. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js +2 -2
  355. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +1 -1
  356. package/node_modules/{@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js → @smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js} +1 -1
  357. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
  358. package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
  359. package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
  360. package/node_modules/@smithy/core/endpoints.js +0 -1
  361. package/node_modules/@smithy/core/event-streams.js +0 -1
  362. package/node_modules/@smithy/core/package.json +20 -11
  363. package/node_modules/@smithy/core/protocols.js +0 -1
  364. package/node_modules/@smithy/core/retry.js +1 -1
  365. package/node_modules/@smithy/core/schema.js +0 -1
  366. package/node_modules/@smithy/core/serde.js +0 -1
  367. package/node_modules/@smithy/core/transport.js +5 -0
  368. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
  369. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
  370. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  371. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  372. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  373. package/node_modules/@smithy/signature-v4/package.json +3 -3
  374. package/node_modules/@smithy/types/package.json +1 -1
  375. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -7
  376. package/node_modules/@smithy/util-utf8/dist-es/index.js +3 -1
  377. package/node_modules/@smithy/util-utf8/package.json +33 -9
  378. package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/dist/index.js +10 -5
  379. package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/package.json +1 -1
  380. package/node_modules/axios/dist/axios.js +81 -53
  381. package/node_modules/axios/dist/axios.min.js +2 -2
  382. package/node_modules/axios/dist/browser/axios.cjs +96 -64
  383. package/node_modules/axios/dist/esm/axios.js +96 -64
  384. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  385. package/node_modules/axios/dist/node/axios.cjs +206 -85
  386. package/node_modules/axios/index.d.cts +1 -1
  387. package/node_modules/axios/lib/adapters/fetch.js +6 -2
  388. package/node_modules/axios/lib/adapters/http.js +139 -29
  389. package/node_modules/axios/lib/adapters/xhr.js +2 -1
  390. package/node_modules/axios/lib/core/AxiosHeaders.js +1 -33
  391. package/node_modules/axios/lib/env/data.js +1 -1
  392. package/node_modules/axios/lib/helpers/composeSignals.js +48 -47
  393. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  394. package/node_modules/axios/lib/helpers/fromDataURI.js +18 -5
  395. package/node_modules/axios/lib/helpers/progressEventReducer.js +3 -0
  396. package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  397. package/node_modules/axios/lib/utils.js +8 -7
  398. package/node_modules/axios/node_modules/agent-base/dist/src/index.js +203 -0
  399. package/node_modules/axios/node_modules/agent-base/dist/src/promisify.js +18 -0
  400. package/node_modules/axios/node_modules/agent-base/package.json +64 -0
  401. package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.js +177 -0
  402. package/node_modules/axios/node_modules/https-proxy-agent/dist/index.js +14 -0
  403. package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  404. package/node_modules/axios/node_modules/https-proxy-agent/package.json +56 -0
  405. package/node_modules/axios/package.json +3 -1
  406. package/node_modules/discord-api-types/package.json +8 -8
  407. package/node_modules/discord-api-types/payloads/v10/oauth2.js +7 -0
  408. package/node_modules/discord-api-types/payloads/v9/oauth2.js +7 -0
  409. package/node_modules/discord-api-types/rest/v10/index.js +3 -2
  410. package/node_modules/discord-api-types/rest/v9/index.js +3 -2
  411. package/node_modules/es-object-atoms/package.json +6 -7
  412. package/node_modules/es-object-atoms/tsconfig.json +1 -0
  413. package/node_modules/eventsource-parser/dist/index.cjs +21 -10
  414. package/node_modules/eventsource-parser/dist/index.d.cts +33 -10
  415. package/node_modules/eventsource-parser/dist/index.js +21 -10
  416. package/node_modules/eventsource-parser/dist/stream.cjs +4 -3
  417. package/node_modules/eventsource-parser/dist/stream.d.cts +16 -3
  418. package/node_modules/eventsource-parser/dist/stream.js +4 -3
  419. package/node_modules/eventsource-parser/package.json +8 -8
  420. package/node_modules/express-rate-limit/dist/index.cjs +1 -1
  421. package/node_modules/express-rate-limit/dist/index.mjs +1 -1
  422. package/node_modules/express-rate-limit/package.json +9 -9
  423. package/node_modules/fast-wrap-ansi/lib/main.js +0 -1
  424. package/node_modules/fast-wrap-ansi/package.json +10 -10
  425. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  426. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  427. package/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -0
  428. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  429. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  430. package/node_modules/fast-xml-parser/package.json +2 -4
  431. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +1 -1
  432. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +4 -0
  433. package/node_modules/grammy/out/bot.js +1 -0
  434. package/node_modules/grammy/out/context.js +236 -74
  435. package/node_modules/grammy/out/convenience/constants.js +1 -0
  436. package/node_modules/grammy/out/convenience/frameworks.js +21 -17
  437. package/node_modules/grammy/out/core/api.js +280 -141
  438. package/node_modules/grammy/out/filter.js +5 -1
  439. package/node_modules/grammy/out/web.mjs +191 -61
  440. package/node_modules/grammy/package.json +2 -2
  441. package/node_modules/hasown/package.json +4 -5
  442. package/node_modules/linkify-it/build/index.cjs.js +99 -94
  443. package/node_modules/linkify-it/index.mjs +99 -94
  444. package/node_modules/linkify-it/package.json +11 -1
  445. package/node_modules/lru-cache/dist/commonjs/browser/index.js +81 -41
  446. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
  447. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +1 -2
  448. package/node_modules/lru-cache/dist/commonjs/index.js +81 -41
  449. package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  450. package/node_modules/lru-cache/dist/commonjs/node/index.js +81 -41
  451. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
  452. package/node_modules/lru-cache/dist/commonjs/node/perf.js +1 -2
  453. package/node_modules/lru-cache/dist/commonjs/perf.js +1 -2
  454. package/node_modules/lru-cache/dist/esm/browser/index.js +81 -41
  455. package/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
  456. package/node_modules/lru-cache/dist/esm/browser/perf.js +1 -2
  457. package/node_modules/lru-cache/dist/esm/index.js +81 -41
  458. package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  459. package/node_modules/lru-cache/dist/esm/node/index.js +81 -41
  460. package/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
  461. package/node_modules/lru-cache/dist/esm/node/perf.js +1 -2
  462. package/node_modules/lru-cache/dist/esm/perf.js +1 -2
  463. package/node_modules/lru-cache/package.json +8 -8
  464. package/node_modules/markdown-it/dist/index.cjs.js +111 -31
  465. package/node_modules/markdown-it/dist/markdown-it.js +117 -31
  466. package/node_modules/markdown-it/dist/markdown-it.min.js +2 -2
  467. package/node_modules/markdown-it/lib/common/utils.mjs +30 -1
  468. package/node_modules/markdown-it/lib/index.mjs +1 -1
  469. package/node_modules/markdown-it/lib/rules_block/heading.mjs +2 -2
  470. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +12 -1
  471. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +4 -1
  472. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +3 -1
  473. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +37 -21
  474. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +2 -2
  475. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +37 -6
  476. package/node_modules/markdown-it/package.json +14 -3
  477. package/node_modules/protobufjs/dist/light/protobuf.js +354 -234
  478. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  479. package/node_modules/protobufjs/dist/minimal/protobuf.js +75 -29
  480. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  481. package/node_modules/protobufjs/dist/protobuf.js +425 -286
  482. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  483. package/node_modules/protobufjs/ext/descriptor/index.js +7 -2
  484. package/node_modules/protobufjs/package.json +8 -5
  485. package/node_modules/protobufjs/src/converter.js +17 -10
  486. package/node_modules/protobufjs/src/encoder.js +8 -5
  487. package/node_modules/protobufjs/src/enum.js +2 -2
  488. package/node_modules/protobufjs/src/field.js +1 -1
  489. package/node_modules/protobufjs/src/namespace.js +10 -4
  490. package/node_modules/protobufjs/src/object.js +6 -6
  491. package/node_modules/protobufjs/src/parse.js +49 -30
  492. package/node_modules/protobufjs/src/root.js +18 -10
  493. package/node_modules/protobufjs/src/roots.js +1 -1
  494. package/node_modules/protobufjs/src/service.js +4 -2
  495. package/node_modules/protobufjs/src/type.js +12 -7
  496. package/node_modules/protobufjs/src/util/fs.js +11 -0
  497. package/node_modules/protobufjs/src/util/minimal.js +42 -9
  498. package/node_modules/protobufjs/src/util/patterns.js +0 -1
  499. package/node_modules/protobufjs/src/util.js +19 -4
  500. package/node_modules/protobufjs/src/wrappers.js +11 -7
  501. package/node_modules/protobufjs/src/writer.js +11 -9
  502. package/node_modules/qs/dist/qs.js +15 -15
  503. package/node_modules/qs/eslint.config.mjs +1 -0
  504. package/node_modules/qs/lib/parse.js +52 -22
  505. package/node_modules/qs/lib/stringify.js +11 -4
  506. package/node_modules/qs/package.json +2 -2
  507. package/node_modules/semver/classes/range.js +7 -0
  508. package/node_modules/semver/package.json +1 -1
  509. package/node_modules/semver/ranges/subset.js +2 -2
  510. package/node_modules/shell-quote/package.json +5 -6
  511. package/node_modules/shell-quote/quote.js +43 -1
  512. package/node_modules/thread-stream/.claude/settings.local.json +15 -0
  513. package/node_modules/thread-stream/CLAUDE.md +64 -0
  514. package/node_modules/thread-stream/index.js +41 -13
  515. package/node_modules/thread-stream/lib/indexes.js +3 -1
  516. package/node_modules/thread-stream/lib/worker.js +20 -8
  517. package/node_modules/thread-stream/package.json +1 -1
  518. package/node_modules/type-is/index.js +8 -18
  519. package/node_modules/type-is/node_modules/content-type/dist/index.js +170 -0
  520. package/node_modules/type-is/node_modules/content-type/package.json +52 -0
  521. package/node_modules/type-is/package.json +9 -5
  522. package/node_modules/undici/lib/api/api-request.js +1 -1
  523. package/node_modules/undici/lib/cache/sqlite-cache-store.js +3 -3
  524. package/node_modules/undici/lib/core/connect.js +16 -0
  525. package/node_modules/undici/lib/core/request.js +17 -2
  526. package/node_modules/undici/lib/core/socks5-client.js +10 -5
  527. package/node_modules/undici/lib/core/socks5-utils.js +17 -22
  528. package/node_modules/undici/lib/dispatcher/client-h1.js +64 -20
  529. package/node_modules/undici/lib/dispatcher/client.js +6 -2
  530. package/node_modules/undici/lib/dispatcher/h2c-client.js +1 -1
  531. package/node_modules/undici/lib/global.js +10 -1
  532. package/node_modules/undici/lib/mock/mock-call-history.js +15 -15
  533. package/node_modules/undici/lib/util/cache.js +8 -7
  534. package/node_modules/undici/lib/web/fetch/formdata-parser.js +17 -6
  535. package/node_modules/undici/lib/web/fetch/index.js +5 -2
  536. package/node_modules/undici/lib/web/webidl/index.js +5 -5
  537. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +1 -7
  538. package/node_modules/undici/package.json +1 -1
  539. package/node_modules/ws/lib/receiver.js +54 -0
  540. package/node_modules/ws/lib/sender.js +6 -1
  541. package/node_modules/ws/lib/websocket-server.js +8 -0
  542. package/node_modules/ws/lib/websocket.js +14 -0
  543. package/node_modules/ws/package.json +1 -1
  544. package/package.json +1 -1
  545. package/skills/qqbrowser-playbook/SKILL.md +330 -0
  546. package/skills/qqbrowser-skill/SKILL.md +355 -160
  547. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  548. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  549. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +0 -66
  550. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  551. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  552. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  553. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  554. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  555. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  556. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  557. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  558. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  559. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  560. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  561. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +0 -66
  562. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +0 -2
  563. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -157
  564. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
  565. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
  566. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -81
  567. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
  568. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
  569. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
  570. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
  571. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
  572. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
  573. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
  574. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
  575. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -70
  576. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +0 -41
  577. package/node_modules/@aws-sdk/middleware-host-header/package.json +0 -59
  578. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +0 -48
  579. package/node_modules/@aws-sdk/middleware-logger/dist-es/index.js +0 -1
  580. package/node_modules/@aws-sdk/middleware-logger/package.json +0 -59
  581. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +0 -29
  582. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +0 -33
  583. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +0 -5
  584. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +0 -2
  585. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +0 -63
  586. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +0 -581
  587. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
  588. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
  589. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +0 -36
  590. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +0 -32
  591. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +0 -9
  592. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +0 -25
  593. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +0 -41
  594. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +0 -42
  595. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +0 -33
  596. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +0 -39
  597. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +0 -14
  598. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +0 -49
  599. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +0 -13
  600. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -38
  601. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +0 -41
  602. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +0 -7
  603. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
  604. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +0 -1
  605. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +0 -1
  606. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +0 -17
  607. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +0 -51
  608. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +0 -8
  609. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +0 -4
  610. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +0 -25
  611. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +0 -79
  612. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +0 -194
  613. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js +0 -2
  614. package/node_modules/@aws-sdk/middleware-user-agent/package.json +0 -63
  615. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
  616. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
  617. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
  618. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
  619. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
  620. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
  621. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
  622. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
  623. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
  624. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
  625. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
  626. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
  627. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
  628. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
  629. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +0 -64
  630. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
  631. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
  632. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
  633. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
  634. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
  635. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
  636. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
  637. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
  638. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
  639. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +0 -56
  640. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
  641. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
  642. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
  643. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
  644. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
  645. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
  646. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
  647. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
  648. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
  649. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
  650. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
  651. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
  652. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
  653. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
  654. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
  655. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +0 -55
  656. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
  657. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
  658. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
  659. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
  660. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
  661. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
  662. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +0 -96
  663. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
  664. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
  665. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
  666. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
  667. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
  668. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
  669. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +0 -38
  670. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +0 -20
  671. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +0 -6
  672. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +0 -3
  673. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +0 -2
  674. package/node_modules/@aws-sdk/region-config-resolver/package.json +0 -62
  675. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +0 -27
  676. package/node_modules/@aws-sdk/util-arn-parser/package.json +0 -55
  677. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -406
  678. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  679. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  680. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  681. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  682. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  683. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  684. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  685. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  686. package/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  687. package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +0 -34
  688. package/node_modules/@aws-sdk/util-format-url/package.json +0 -56
  689. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +0 -2
  690. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +0 -57
  691. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +0 -58
  692. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +0 -22
  693. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +0 -55
  694. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +0 -185
  695. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +0 -2
  696. package/node_modules/@aws-sdk/util-user-agent-node/package.json +0 -69
  697. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +0 -22
  698. package/node_modules/@smithy/config-resolver/dist-es/index.js +0 -1
  699. package/node_modules/@smithy/config-resolver/package.json +0 -41
  700. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
  701. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
  702. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
  703. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
  704. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
  705. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
  706. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
  707. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
  708. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
  709. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
  710. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
  711. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
  712. package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
  713. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
  714. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
  715. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
  716. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
  717. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
  718. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
  719. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
  720. package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
  721. package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
  722. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
  723. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
  724. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
  725. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -11
  726. package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -1
  727. package/node_modules/@smithy/eventstream-codec/package.json +0 -44
  728. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +0 -9
  729. package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +0 -3
  730. package/node_modules/@smithy/eventstream-serde-browser/package.json +0 -44
  731. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +0 -5
  732. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +0 -1
  733. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +0 -44
  734. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +0 -6
  735. package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +0 -1
  736. package/node_modules/@smithy/eventstream-serde-node/package.json +0 -44
  737. package/node_modules/@smithy/hash-node/dist-cjs/index.js +0 -5
  738. package/node_modules/@smithy/hash-node/dist-es/index.js +0 -1
  739. package/node_modules/@smithy/hash-node/package.json +0 -41
  740. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +0 -6
  741. package/node_modules/@smithy/invalid-dependency/dist-es/index.js +0 -1
  742. package/node_modules/@smithy/invalid-dependency/package.json +0 -41
  743. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +0 -7
  744. package/node_modules/@smithy/middleware-content-length/dist-es/index.js +0 -1
  745. package/node_modules/@smithy/middleware-content-length/package.json +0 -41
  746. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +0 -12
  747. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +0 -1
  748. package/node_modules/@smithy/middleware-endpoint/package.json +0 -41
  749. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +0 -22
  750. package/node_modules/@smithy/middleware-retry/dist-es/index.js +0 -1
  751. package/node_modules/@smithy/middleware-retry/package.json +0 -41
  752. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +0 -9
  753. package/node_modules/@smithy/middleware-serde/dist-es/index.js +0 -1
  754. package/node_modules/@smithy/middleware-serde/package.json +0 -41
  755. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +0 -5
  756. package/node_modules/@smithy/middleware-stack/dist-es/index.js +0 -1
  757. package/node_modules/@smithy/middleware-stack/package.json +0 -43
  758. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +0 -5
  759. package/node_modules/@smithy/node-config-provider/dist-es/index.js +0 -1
  760. package/node_modules/@smithy/node-config-provider/package.json +0 -43
  761. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
  762. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
  763. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
  764. package/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -10
  765. package/node_modules/@smithy/property-provider/dist-es/index.js +0 -1
  766. package/node_modules/@smithy/property-provider/package.json +0 -41
  767. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +0 -11
  768. package/node_modules/@smithy/protocol-http/dist-es/index.js +0 -1
  769. package/node_modules/@smithy/protocol-http/package.json +0 -42
  770. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +0 -5
  771. package/node_modules/@smithy/querystring-builder/dist-es/index.js +0 -1
  772. package/node_modules/@smithy/querystring-builder/package.json +0 -41
  773. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -16
  774. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -1
  775. package/node_modules/@smithy/shared-ini-file-loader/package.json +0 -41
  776. package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
  777. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +0 -75
  778. package/node_modules/@smithy/smithy-client/dist-es/index.js +0 -3
  779. package/node_modules/@smithy/smithy-client/package.json +0 -42
  780. package/node_modules/@smithy/url-parser/dist-cjs/index.js +0 -5
  781. package/node_modules/@smithy/url-parser/dist-es/index.js +0 -1
  782. package/node_modules/@smithy/url-parser/package.json +0 -41
  783. package/node_modules/@smithy/util-base64/dist-cjs/index.js +0 -6
  784. package/node_modules/@smithy/util-base64/dist-es/index.js +0 -1
  785. package/node_modules/@smithy/util-base64/package.json +0 -42
  786. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +0 -5
  787. package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +0 -1
  788. package/node_modules/@smithy/util-body-length-browser/package.json +0 -42
  789. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +0 -5
  790. package/node_modules/@smithy/util-body-length-node/dist-es/index.js +0 -1
  791. package/node_modules/@smithy/util-body-length-node/package.json +0 -42
  792. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +0 -7
  793. package/node_modules/@smithy/util-config-provider/dist-es/index.js +0 -1
  794. package/node_modules/@smithy/util-config-provider/package.json +0 -43
  795. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +0 -5
  796. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +0 -1
  797. package/node_modules/@smithy/util-defaults-mode-browser/package.json +0 -41
  798. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +0 -5
  799. package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +0 -1
  800. package/node_modules/@smithy/util-defaults-mode-node/package.json +0 -41
  801. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +0 -12
  802. package/node_modules/@smithy/util-endpoints/dist-es/index.js +0 -1
  803. package/node_modules/@smithy/util-endpoints/package.json +0 -45
  804. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +0 -6
  805. package/node_modules/@smithy/util-hex-encoding/dist-es/index.js +0 -1
  806. package/node_modules/@smithy/util-hex-encoding/package.json +0 -42
  807. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +0 -6
  808. package/node_modules/@smithy/util-middleware/dist-es/index.js +0 -1
  809. package/node_modules/@smithy/util-middleware/package.json +0 -46
  810. package/node_modules/@smithy/util-retry/dist-cjs/index.js +0 -21
  811. package/node_modules/@smithy/util-retry/dist-es/index.js +0 -1
  812. package/node_modules/@smithy/util-retry/package.json +0 -46
  813. package/node_modules/@smithy/util-stream/dist-cjs/index.js +0 -14
  814. package/node_modules/@smithy/util-stream/dist-es/index.js +0 -1
  815. package/node_modules/@smithy/util-stream/package.json +0 -43
  816. package/node_modules/shell-quote/print.py +0 -3
  817. /package/node_modules/@aws-sdk/{middleware-logger/dist-es → core/dist-es/submodules/client/middleware-logger}/loggerMiddleware.js +0 -0
  818. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/configuration.js +0 -0
  819. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/getRecursionDetectionPlugin.js +0 -0
  820. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.browser.js +0 -0
  821. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.native.js +0 -0
  822. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/configurations.js +0 -0
  823. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/constants.js +0 -0
  824. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/encode-features.js +0 -0
  825. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/extensions/index.js → core/dist-es/submodules/client/region-config-resolver/extensions.js} +0 -0
  826. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.browser.js +0 -0
  827. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.native.js +0 -0
  828. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/parseArn.js +0 -0
  829. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/EndpointRuleObject.js +0 -0
  830. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/ErrorRuleObject.js +0 -0
  831. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/RuleSetObject.js +0 -0
  832. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/TreeRuleObject.js +0 -0
  833. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/shared.js +0 -0
  834. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/configurations.js +0 -0
  835. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/createUserAgentStringParsingProvider.js +0 -0
  836. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es/index.js → core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js} +0 -0
  837. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es/index.native.js → core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.native.js} +0 -0
  838. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/crt-availability.js +0 -0
  839. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/defaultUserAgent.js +0 -0
  840. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getNodeModulesParentDirs.js +0 -0
  841. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getRuntimeUserAgentPair.js +0 -0
  842. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedDevTypeScriptVersion.js +0 -0
  843. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedTypeScriptVersion.js +0 -0
  844. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/is-crt-available.js +0 -0
  845. /package/node_modules/@aws-sdk/{util-arn-parser/dist-es/index.js → core/dist-es/submodules/util/util-arn-parser/arn.js} +0 -0
  846. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
  847. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
  848. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
  849. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
  850. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
  851. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
  852. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
  853. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
  854. /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
  855. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
  856. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
  857. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
  858. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
  859. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
  860. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
  861. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
  862. /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
  863. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
  864. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
  865. /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
  866. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
  867. /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
  868. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
  869. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.browser.js +0 -0
  870. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.js +0 -0
  871. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUint8Array.js +0 -0
  872. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.browser.js +0 -0
  873. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.js +0 -0
  874. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.browser.js +0 -0
  875. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.js +0 -0
  876. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUint8Array.js +0 -0
  877. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.browser.js +0 -0
  878. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.js +0 -0
@@ -66,7 +66,7 @@ class Api {
66
66
  *
67
67
  * If you're having any trouble setting up webhooks, please check out this amazing guide to webhooks.
68
68
  *
69
- * @param url HTTPS url to send updates to. Use an empty string to remove webhook integration
69
+ * @param url HTTPS url to send updates to. Use an empty string to remove webhook integration.
70
70
  * @param other Optional remaining parameters, confer the official reference below
71
71
  * @param signal Optional `AbortSignal` to cancel the request
72
72
  *
@@ -129,7 +129,7 @@ class Api {
129
129
  /**
130
130
  * Use this method to send text messages. On success, the sent Message is returned.
131
131
  *
132
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
132
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
133
133
  * @param text Text of the message to be sent, 1-4096 characters after entities parsing
134
134
  * @param other Optional remaining parameters, confer the official reference below
135
135
  * @param signal Optional `AbortSignal` to cancel the request
@@ -139,25 +139,11 @@ class Api {
139
139
  sendMessage(chat_id, text, other, signal) {
140
140
  return this.raw.sendMessage({ chat_id, text, ...other }, signal);
141
141
  }
142
- /**
143
- * Use this method to stream a partial message to a user while the message is being generated. Returns True on success.
144
- *
145
- * @param chat_id Unique identifier for the target private chat
146
- * @param draft_id Unique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated
147
- * @param text Text of the message to be sent, 1-4096 characters after entities parsing
148
- * @param other Optional remaining parameters, confer the official reference below
149
- * @param signal Optional `AbortSignal` to cancel the request
150
- *
151
- * **Official reference:** https://core.telegram.org/bots/api#sendmessagedraft
152
- */
153
- sendMessageDraft(chat_id, draft_id, text, other, signal) {
154
- return this.raw.sendMessageDraft({ chat_id, draft_id, text, ...other }, signal);
155
- }
156
142
  /**
157
143
  * Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent Message is returned.
158
144
  *
159
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
160
- * @param from_chat_id Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)
145
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
146
+ * @param from_chat_id Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format `@username`)
161
147
  * @param message_id Message identifier in the chat specified in from_chat_id
162
148
  * @param other Optional remaining parameters, confer the official reference below
163
149
  * @param signal Optional `AbortSignal` to cancel the request
@@ -170,8 +156,8 @@ class Api {
170
156
  /**
171
157
  * Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. On success, an array of MessageId of the sent messages is returned.
172
158
  *
173
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
174
- * @param from_chat_id Unique identifier for the chat where the original messages were sent (or channel username in the format @channelusername)
159
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
160
+ * @param from_chat_id Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format `@username`)
175
161
  * @param message_ids A list of 1-100 identifiers of messages in the chat from_chat_id to forward. The identifiers must be specified in a strictly increasing order.
176
162
  * @param other Optional remaining parameters, confer the official reference below
177
163
  * @param signal Optional `AbortSignal` to cancel the request
@@ -189,8 +175,8 @@ class Api {
189
175
  /**
190
176
  * Use this method to copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success.
191
177
  *
192
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
193
- * @param from_chat_id Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)
178
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
179
+ * @param from_chat_id Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format `@username`)
194
180
  * @param message_id Message identifier in the chat specified in from_chat_id
195
181
  * @param other Optional remaining parameters, confer the official reference below
196
182
  * @param signal Optional `AbortSignal` to cancel the request
@@ -203,8 +189,8 @@ class Api {
203
189
  /**
204
190
  * Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. On success, an array of MessageId of the sent messages is returned.
205
191
  *
206
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
207
- * @param from_chat_id Unique identifier for the chat where the original messages were sent (or channel username in the format @channelusername)
192
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
193
+ * @param from_chat_id Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format `@username`)
208
194
  * @param message_ids A list of 1-100 identifiers of messages in the chat from_chat_id to copy. The identifiers must be specified in a strictly increasing order.
209
195
  * @param other Optional remaining parameters, confer the official reference below
210
196
  * @param signal Optional `AbortSignal` to cancel the request
@@ -222,7 +208,7 @@ class Api {
222
208
  /**
223
209
  * Use this method to send photos. On success, the sent Message is returned.
224
210
  *
225
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
211
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
226
212
  * @param photo Photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a photo from the Internet, or upload a new photo using multipart/form-data. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
227
213
  * @param other Optional remaining parameters, confer the official reference below
228
214
  * @param signal Optional `AbortSignal` to cancel the request
@@ -232,12 +218,26 @@ class Api {
232
218
  sendPhoto(chat_id, photo, other, signal) {
233
219
  return this.raw.sendPhoto({ chat_id, photo, ...other }, signal);
234
220
  }
221
+ /**
222
+ * Use this method to send live photos. On success, the sent Message is returned.
223
+ *
224
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
225
+ * @param live_photo Live photo video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. Sending live photos by a URL is currently unsupported.
226
+ * @param photo The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. Sending live photos by a URL is currently unsupported.
227
+ * @param other Optional remaining parameters, confer the official reference below
228
+ * @param signal Optional `AbortSignal` to cancel the request
229
+ *
230
+ * **Official reference:** https://core.telegram.org/bots/api#sendlivephoto
231
+ */
232
+ sendLivePhoto(chat_id, live_photo, photo, other, signal) {
233
+ return this.raw.sendLivePhoto({ chat_id, live_photo, photo, ...other }, signal);
234
+ }
235
235
  /**
236
236
  * Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
237
237
  *
238
238
  * For sending voice messages, use the sendVoice method instead.
239
239
  *
240
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
240
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
241
241
  * @param audio Audio file to send. Pass a file_id as String to send an audio file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an audio file from the Internet, or upload a new one using multipart/form-data.
242
242
  * @param other Optional remaining parameters, confer the official reference below
243
243
  * @param signal Optional `AbortSignal` to cancel the request
@@ -250,7 +250,7 @@ class Api {
250
250
  /**
251
251
  * Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
252
252
  *
253
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
253
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
254
254
  * @param document File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data.
255
255
  * @param other Optional remaining parameters, confer the official reference below
256
256
  * @param signal Optional `AbortSignal` to cancel the request
@@ -263,7 +263,7 @@ class Api {
263
263
  /**
264
264
  * Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document). On success, the sent Message is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
265
265
  *
266
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
266
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
267
267
  * @param video Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data.
268
268
  * @param other Optional remaining parameters, confer the official reference below
269
269
  * @param signal Optional `AbortSignal` to cancel the request
@@ -276,7 +276,7 @@ class Api {
276
276
  /**
277
277
  * Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
278
278
  *
279
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
279
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
280
280
  * @param animation Animation to send. Pass a file_id as String to send an animation that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an animation from the Internet, or upload a new animation using multipart/form-data.
281
281
  * @param other Optional remaining parameters, confer the official reference below
282
282
  * @param signal Optional `AbortSignal` to cancel the request
@@ -289,7 +289,7 @@ class Api {
289
289
  /**
290
290
  * Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
291
291
  *
292
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
292
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
293
293
  * @param voice Audio file to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data.
294
294
  * @param other Optional remaining parameters, confer the official reference below
295
295
  * @param signal Optional `AbortSignal` to cancel the request
@@ -303,7 +303,7 @@ class Api {
303
303
  * Use this method to send video messages. On success, the sent Message is returned.
304
304
  * As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
305
305
  *
306
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
306
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
307
307
  * @param video_note Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data.. Sending video notes by a URL is currently unsupported
308
308
  * @param other Optional remaining parameters, confer the official reference below
309
309
  * @param signal Optional `AbortSignal` to cancel the request
@@ -313,10 +313,24 @@ class Api {
313
313
  sendVideoNote(chat_id, video_note, other, signal) {
314
314
  return this.raw.sendVideoNote({ chat_id, video_note, ...other }, signal);
315
315
  }
316
+ /**
317
+ * Use this method to send paid media. On success, the sent Message is returned.
318
+ *
319
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
320
+ * @param star_count The number of Telegram Stars that must be paid to buy access to the media
321
+ * @param media An array describing the media to be sent; up to 10 items
322
+ * @param other Optional remaining parameters, confer the official reference below
323
+ * @param signal Optional `AbortSignal` to cancel the request
324
+ *
325
+ * **Official reference:** https://core.telegram.org/bots/api#sendpaidmedia
326
+ */
327
+ sendPaidMedia(chat_id, star_count, media, other, signal) {
328
+ return this.raw.sendPaidMedia({ chat_id, star_count, media, ...other }, signal);
329
+ }
316
330
  /**
317
331
  * Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.
318
332
  *
319
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
333
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
320
334
  * @param media An array describing messages to be sent, must include 2-10 items
321
335
  * @param other Optional remaining parameters, confer the official reference below
322
336
  * @param signal Optional `AbortSignal` to cancel the request
@@ -329,7 +343,7 @@ class Api {
329
343
  /**
330
344
  * Use this method to send point on the map. On success, the sent Message is returned.
331
345
  *
332
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
346
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
333
347
  * @param latitude Latitude of the location
334
348
  * @param longitude Longitude of the location
335
349
  * @param other Optional remaining parameters, confer the official reference below
@@ -343,7 +357,7 @@ class Api {
343
357
  /**
344
358
  * Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
345
359
  *
346
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
360
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
347
361
  * @param message_id Identifier of the message to edit
348
362
  * @param latitude Latitude of new location
349
363
  * @param longitude Longitude of new location
@@ -372,7 +386,7 @@ class Api {
372
386
  /**
373
387
  * Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned.
374
388
  *
375
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
389
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
376
390
  * @param message_id Identifier of the message with live location to stop
377
391
  * @param other Optional remaining parameters, confer the official reference below
378
392
  * @param signal Optional `AbortSignal` to cancel the request
@@ -394,24 +408,10 @@ class Api {
394
408
  stopMessageLiveLocationInline(inline_message_id, other, signal) {
395
409
  return this.raw.stopMessageLiveLocation({ inline_message_id, ...other }, signal);
396
410
  }
397
- /**
398
- * Use this method to send paid media. On success, the sent Message is returned.
399
- *
400
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
401
- * @param star_count The number of Telegram Stars that must be paid to buy access to the media
402
- * @param media An array describing the media to be sent; up to 10 items
403
- * @param other Optional remaining parameters, confer the official reference below
404
- * @param signal Optional `AbortSignal` to cancel the request
405
- *
406
- * **Official reference:** https://core.telegram.org/bots/api#sendpaidmedia
407
- */
408
- sendPaidMedia(chat_id, star_count, media, other, signal) {
409
- return this.raw.sendPaidMedia({ chat_id, star_count, media, ...other }, signal);
410
- }
411
411
  /**
412
412
  * Use this method to send information about a venue. On success, the sent Message is returned.
413
413
  *
414
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
414
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
415
415
  * @param latitude Latitude of the venue
416
416
  * @param longitude Longitude of the venue
417
417
  * @param title Name of the venue
@@ -427,7 +427,7 @@ class Api {
427
427
  /**
428
428
  * Use this method to send phone contacts. On success, the sent Message is returned.
429
429
  *
430
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
430
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
431
431
  * @param phone_number Contact's phone number
432
432
  * @param first_name Contact's first name
433
433
  * @param other Optional remaining parameters, confer the official reference below
@@ -441,9 +441,9 @@ class Api {
441
441
  /**
442
442
  * Use this method to send a native poll. On success, the sent Message is returned.
443
443
  *
444
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
444
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
445
445
  * @param question Poll question, 1-300 characters
446
- * @param options A list of answer options, 2-12 strings 1-100 characters each
446
+ * @param options A list of answer options, 1-12 strings 1-100 characters each
447
447
  * @param other Optional remaining parameters, confer the official reference below
448
448
  * @param signal Optional `AbortSignal` to cancel the request
449
449
  *
@@ -457,7 +457,7 @@ class Api {
457
457
  * Use this method to send a checklist on behalf of a connected business account. On success, the sent Message is returned.
458
458
  *
459
459
  * @param business_connection_id Unique identifier of the business connection on behalf of which the message will be sent
460
- * @param chat_id Unique identifier for the target chat
460
+ * @param chat_id Unique identifier for the target chat or username of the target bot in the format `@username`
461
461
  * @param checklist An object for the checklist to send
462
462
  * @param other Optional remaining parameters, confer the official reference below
463
463
  * @param signal Optional `AbortSignal` to cancel the request
@@ -476,7 +476,7 @@ class Api {
476
476
  * Use this method to edit a checklist on behalf of a connected business account. On success, the edited Message is returned.
477
477
  *
478
478
  * @param business_connection_id Unique identifier of the business connection on behalf of which the message will be sent
479
- * @param chat_id Unique identifier for the target chat
479
+ * @param chat_id Unique identifier for the target chat or username of the target bot in the format `@username`
480
480
  * @param message_id Unique identifier for the target message
481
481
  * @param checklist An object for the new checklist
482
482
  * @param other Optional remaining parameters, confer the official reference below
@@ -496,8 +496,8 @@ class Api {
496
496
  /**
497
497
  * Use this method to send an animated emoji that will display a random value. On success, the sent Message is returned.
498
498
  *
499
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
500
- * @param emoji Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, “🏀”, “⚽”, “🎳”, or “🎰”. Dice can have values 1-6 for “🎲”, “🎯” and “🎳”, values 1-5 for “🏀” and “⚽”, and values 1-64 for “🎰”. Defaults to “🎲”
499
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
500
+ * @param emoji Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, “🏀”, “⚽”, “🎳”, or “🎰”. Dice can have values 1-6 for “🎲”, “🎯” and “🎳”, values 1-5 for “🏀” and “⚽”, and values 1-64 for “🎰”. Defaults to “🎲”.
501
501
  * @param other Optional remaining parameters, confer the official reference below
502
502
  * @param signal Optional `AbortSignal` to cancel the request
503
503
  *
@@ -525,6 +525,20 @@ class Api {
525
525
  ...other,
526
526
  }, signal);
527
527
  }
528
+ /**
529
+ * Use this method to stream a partial message to a user while the message is being generated. Returns True on success.
530
+ *
531
+ * @param chat_id Unique identifier for the target private chat
532
+ * @param draft_id Unique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated.
533
+ * @param text Text of the message to be sent, 1-4096 characters after entities parsing
534
+ * @param other Optional remaining parameters, confer the official reference below
535
+ * @param signal Optional `AbortSignal` to cancel the request
536
+ *
537
+ * **Official reference:** https://core.telegram.org/bots/api#sendmessagedraft
538
+ */
539
+ sendMessageDraft(chat_id, draft_id, text, other, signal) {
540
+ return this.raw.sendMessageDraft({ chat_id, draft_id, text, ...other }, signal);
541
+ }
528
542
  /**
529
543
  * Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns True on success.
530
544
  *
@@ -532,7 +546,7 @@ class Api {
532
546
  *
533
547
  * We only recommend using this method when a response from the bot will take a noticeable amount of time to arrive.
534
548
  *
535
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). Channel chats and channel direct messages chats aren't supported.
549
+ * @param chat_id Unique identifier for the target chat or username of the target bot or supergroup in the format `@username`
536
550
  * @param action Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_voice or upload_voice for voice notes, upload_document for general files, choose_sticker for stickers, find_location for location data, record_video_note or upload_video_note for video notes.
537
551
  * @param other Optional remaining parameters, confer the official reference below
538
552
  * @param signal Optional `AbortSignal` to cancel the request
@@ -605,7 +619,7 @@ class Api {
605
619
  /**
606
620
  * Returns the gifts owned by a chat. Returns OwnedGifts on success.
607
621
  *
608
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
622
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
609
623
  * @param other Optional remaining parameters, confer the official reference below
610
624
  * @param signal Optional `AbortSignal` to cancel the request
611
625
  *
@@ -625,6 +639,56 @@ class Api {
625
639
  getBusinessConnection(business_connection_id, signal) {
626
640
  return this.raw.getBusinessConnection({ business_connection_id }, signal);
627
641
  }
642
+ /**
643
+ * Use this method to get the token of a managed bot. Returns the token as String on success.
644
+ *
645
+ * @param user_id User identifier of the managed bot whose token will be returned
646
+ * @param signal Optional `AbortSignal` to cancel the request
647
+ *
648
+ * **Official reference:** https://core.telegram.org/bots/api#getmanagedbottoken
649
+ */
650
+ getManagedBotToken(user_id, signal) {
651
+ return this.raw.getManagedBotToken({ user_id }, signal);
652
+ }
653
+ /**
654
+ * Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as String on success.
655
+ *
656
+ * @param user_id User identifier of the managed bot whose token will be replaced
657
+ * @param signal Optional `AbortSignal` to cancel the request
658
+ *
659
+ * **Official reference:** https://core.telegram.org/bots/api#replacemanagedbottoken
660
+ */
661
+ replaceManagedBotToken(user_id, signal) {
662
+ return this.raw.replaceManagedBotToken({ user_id }, signal);
663
+ }
664
+ /**
665
+ * Use this method to get the access settings of a managed bot. Returns a BotAccessSettings object on success.
666
+ *
667
+ * @param user_id User identifier of the managed bot whose access settings will be returned
668
+ * @param signal Optional `AbortSignal` to cancel the request
669
+ *
670
+ * **Official reference:** https://core.telegram.org/bots/api#getmanagedbotaccesssettings
671
+ */
672
+ getManagedBotAccessSettings(user_id, signal) {
673
+ return this.raw.getManagedBotAccessSettings({ user_id }, signal);
674
+ }
675
+ /**
676
+ * Use this method to change the access settings of a managed bot. Returns True on success.
677
+ *
678
+ * @param user_id User identifier of the managed bot whose access settings will be changed
679
+ * @param is_access_restricted Pass True, if only selected users can access the bot
680
+ * @param other Optional remaining parameters, confer the official reference below
681
+ * @param signal Optional `AbortSignal` to cancel the request
682
+ *
683
+ * **Official reference:** https://core.telegram.org/bots/api#setmanagedbotaccesssettingsrestricted
684
+ */
685
+ setManagedBotAccessSettings(user_id, is_access_restricted, other, signal) {
686
+ return this.raw.setManagedBotAccessSettings({
687
+ user_id,
688
+ is_access_restricted,
689
+ ...other,
690
+ }, signal);
691
+ }
628
692
  /**
629
693
  * Use this method to get basic info about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a File object is returned. The file can then be downloaded via the link `https://api.telegram.org/file/bot<token>/<file_path>`, where `<file_path>` is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile again.
630
694
  *
@@ -645,7 +709,7 @@ class Api {
645
709
  /**
646
710
  * Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
647
711
  *
648
- * @param chat_id Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)
712
+ * @param chat_id Unique identifier for the target group or username of the target supergroup or channel in the format `@username`
649
713
  * @param user_id Unique identifier of the target user
650
714
  * @param other Optional remaining parameters, confer the official reference below
651
715
  * @param signal Optional `AbortSignal` to cancel the request
@@ -658,7 +722,7 @@ class Api {
658
722
  /**
659
723
  * Use this method to unban a previously banned user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. By default, this method guarantees that after the call the user is not a member of the chat, but will be able to join it. So if the user is a member of the chat they will also be removed from the chat. If you don't want this, use the parameter only_if_banned. Returns True on success.
660
724
  *
661
- * @param chat_id Unique identifier for the target group or username of the target supergroup or channel (in the format @username)
725
+ * @param chat_id Unique identifier for the target group or username of the target supergroup or channel in the format `@username`
662
726
  * @param user_id Unique identifier of the target user
663
727
  * @param other Optional remaining parameters, confer the official reference below
664
728
  * @param signal Optional `AbortSignal` to cancel the request
@@ -671,7 +735,7 @@ class Api {
671
735
  /**
672
736
  * Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.
673
737
  *
674
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
738
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
675
739
  * @param user_id Unique identifier of the target user
676
740
  * @param permissions An object for new user permissions
677
741
  * @param other Optional remaining parameters, confer the official reference below
@@ -685,7 +749,7 @@ class Api {
685
749
  /**
686
750
  * Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass False for all boolean parameters to demote a user. Returns True on success.
687
751
  *
688
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
752
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
689
753
  * @param user_id Unique identifier of the target user
690
754
  * @param other Optional remaining parameters, confer the official reference below
691
755
  * @param signal Optional `AbortSignal` to cancel the request
@@ -698,7 +762,7 @@ class Api {
698
762
  /**
699
763
  * Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
700
764
  *
701
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
765
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
702
766
  * @param user_id Unique identifier of the target user
703
767
  * @param custom_title New custom title for the administrator; 0-16 characters, emoji are not allowed
704
768
  * @param signal Optional `AbortSignal` to cancel the request
@@ -711,7 +775,7 @@ class Api {
711
775
  /**
712
776
  * Use this method to set a tag for a regular member in a group or a supergroup. The bot must be an administrator in the chat for this to work and must have the “can_manage_tags” administrator right. Returns True on success.
713
777
  *
714
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
778
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
715
779
  * @param user_id Unique identifier of the target user
716
780
  * @param tag New tag for the member; 0-16 characters, emoji are not allowed
717
781
  * @param signal Optional `AbortSignal` to cancel the request
@@ -724,7 +788,7 @@ class Api {
724
788
  /**
725
789
  * Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.
726
790
  *
727
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
791
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
728
792
  * @param sender_chat_id Unique identifier of the target sender chat
729
793
  * @param signal Optional `AbortSignal` to cancel the request
730
794
  *
@@ -736,7 +800,7 @@ class Api {
736
800
  /**
737
801
  * Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns True on success.
738
802
  *
739
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
803
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
740
804
  * @param sender_chat_id Unique identifier of the target sender chat
741
805
  * @param signal Optional `AbortSignal` to cancel the request
742
806
  *
@@ -748,7 +812,7 @@ class Api {
748
812
  /**
749
813
  * Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
750
814
  *
751
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
815
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
752
816
  * @param permissions New default chat permissions
753
817
  * @param other Optional remaining parameters, confer the official reference below
754
818
  * @param signal Optional `AbortSignal` to cancel the request
@@ -763,7 +827,7 @@ class Api {
763
827
  *
764
828
  * Note: Each administrator in a chat generates their own invite links. Bots can't use invite links generated by other administrators. If you want your bot to work with invite links, it will need to generate its own link using exportChatInviteLink or by calling the getChat method. If your bot needs to generate a new primary invite link replacing its previous one, use exportChatInviteLink again.
765
829
  *
766
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
830
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
767
831
  * @param signal Optional `AbortSignal` to cancel the request
768
832
  *
769
833
  * **Official reference:** https://core.telegram.org/bots/api#exportchatinvitelink
@@ -774,7 +838,7 @@ class Api {
774
838
  /**
775
839
  * Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.
776
840
  *
777
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
841
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
778
842
  * @param other Optional remaining parameters, confer the official reference below
779
843
  * @param signal Optional `AbortSignal` to cancel the request
780
844
  *
@@ -786,7 +850,7 @@ class Api {
786
850
  /**
787
851
  * Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as a ChatInviteLink object.
788
852
  *
789
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
853
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
790
854
  * @param invite_link The invite link to edit
791
855
  * @param other Optional remaining parameters, confer the official reference below
792
856
  * @param signal Optional `AbortSignal` to cancel the request
@@ -799,7 +863,7 @@ class Api {
799
863
  /**
800
864
  * Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a ChatInviteLink object.
801
865
  *
802
- * @param chat_id Unique identifier for the target channel chat or username of the target channel (in the format @channelusername)
866
+ * @param chat_id Unique identifier for the target channel chat or username of the target channel in the format `@username`
803
867
  * @param subscription_period The number of seconds the subscription will be active for before the next payment. Currently, it must always be 2592000 (30 days).
804
868
  * @param subscription_price The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-2500
805
869
  * @param other Optional remaining parameters, confer the official reference below
@@ -813,7 +877,7 @@ class Api {
813
877
  /**
814
878
  * Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a ChatInviteLink object.
815
879
  *
816
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
880
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
817
881
  * @param invite_link The invite link to edit
818
882
  * @param other Optional remaining parameters, confer the official reference below
819
883
  * @param signal Optional `AbortSignal` to cancel the request
@@ -826,7 +890,7 @@ class Api {
826
890
  /**
827
891
  * Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as ChatInviteLink object.
828
892
  *
829
- * @param chat_id Unique identifier of the target chat or username of the target channel (in the format @channelusername)
893
+ * @param chat_id Unique identifier of the target chat or username of the target channel in the format `@username`
830
894
  * @param invite_link The invite link to revoke
831
895
  * @param signal Optional `AbortSignal` to cancel the request
832
896
  *
@@ -835,32 +899,10 @@ class Api {
835
899
  revokeChatInviteLink(chat_id, invite_link, signal) {
836
900
  return this.raw.revokeChatInviteLink({ chat_id, invite_link }, signal);
837
901
  }
838
- /**
839
- * Use this method to get the token of a managed bot. Returns the token as String on success.
840
- *
841
- * @param user_id User identifier of the managed bot whose token will be returned
842
- * @param signal Optional `AbortSignal` to cancel the request
843
- *
844
- * **Official reference:** https://core.telegram.org/bots/api#getmanagedbottoken
845
- */
846
- getManagedBotToken(user_id, signal) {
847
- return this.raw.getManagedBotToken({ user_id }, signal);
848
- }
849
- /**
850
- * Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as String on success.
851
- *
852
- * @param user_id User identifier of the managed bot whose token will be replaced
853
- * @param signal Optional `AbortSignal` to cancel the request
854
- *
855
- * **Official reference:** https://core.telegram.org/bots/api#replacemanagedbottoken
856
- */
857
- replaceManagedBotToken(user_id, signal) {
858
- return this.raw.replaceManagedBotToken({ user_id }, signal);
859
- }
860
902
  /**
861
903
  * Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
862
904
  *
863
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
905
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
864
906
  * @param user_id Unique identifier of the target user
865
907
  * @param signal Optional `AbortSignal` to cancel the request
866
908
  *
@@ -872,7 +914,7 @@ class Api {
872
914
  /**
873
915
  * Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
874
916
  *
875
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
917
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
876
918
  * @param user_id Unique identifier of the target user
877
919
  * @param signal Optional `AbortSignal` to cancel the request
878
920
  *
@@ -910,7 +952,7 @@ class Api {
910
952
  /**
911
953
  * Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
912
954
  *
913
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
955
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
914
956
  * @param photo New chat photo, uploaded using multipart/form-data
915
957
  * @param signal Optional `AbortSignal` to cancel the request
916
958
  *
@@ -922,7 +964,7 @@ class Api {
922
964
  /**
923
965
  * Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
924
966
  *
925
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
967
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
926
968
  * @param signal Optional `AbortSignal` to cancel the request
927
969
  *
928
970
  * **Official reference:** https://core.telegram.org/bots/api#deletechatphoto
@@ -933,7 +975,7 @@ class Api {
933
975
  /**
934
976
  * Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
935
977
  *
936
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
978
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
937
979
  * @param title New chat title, 1-255 characters
938
980
  * @param signal Optional `AbortSignal` to cancel the request
939
981
  *
@@ -945,7 +987,7 @@ class Api {
945
987
  /**
946
988
  * Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
947
989
  *
948
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
990
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
949
991
  * @param description New chat description, 0-255 characters
950
992
  * @param signal Optional `AbortSignal` to cancel the request
951
993
  *
@@ -957,7 +999,7 @@ class Api {
957
999
  /**
958
1000
  * Use this method to add a message to the list of pinned messages in a chat. In private chats and channel direct messages chats, all non-service messages can be pinned. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to pin messages in groups and channels respectively. Returns True on success.
959
1001
  *
960
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1002
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
961
1003
  * @param message_id Identifier of a message to pin
962
1004
  * @param other Optional remaining parameters, confer the official reference below
963
1005
  * @param signal Optional `AbortSignal` to cancel the request
@@ -970,7 +1012,7 @@ class Api {
970
1012
  /**
971
1013
  * Use this method to remove a message from the list of pinned messages in a chat. In private chats and channel direct messages chats, all messages can be unpinned. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin messages in groups and channels respectively. Returns True on success.
972
1014
  *
973
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1015
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
974
1016
  * @param message_id Identifier of a message to unpin. If not specified, the most recent pinned message (by sending date) will be unpinned.
975
1017
  * @param other Optional remaining parameters, confer the official reference below
976
1018
  * @param signal Optional `AbortSignal` to cancel the request
@@ -983,7 +1025,7 @@ class Api {
983
1025
  /**
984
1026
  * Use this method to clear the list of pinned messages in a chat. In private chats and channel direct messages chats, no additional rights are required to unpin all pinned messages. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin all pinned messages in groups and channels respectively. Returns True on success.
985
1027
  *
986
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1028
+ * @param chat_id Unique identifier for the target chat or username of the target channel in the format `@username`
987
1029
  * @param signal Optional `AbortSignal` to cancel the request
988
1030
  *
989
1031
  * **Official reference:** https://core.telegram.org/bots/api#unpinallchatmessages
@@ -994,7 +1036,7 @@ class Api {
994
1036
  /**
995
1037
  * Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
996
1038
  *
997
- * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername). Channel direct messages chats aren't supported; leave the corresponding channel instead.
1039
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`. Channel direct messages chats aren't supported; leave the corresponding channel instead.
998
1040
  * @param signal Optional `AbortSignal` to cancel the request
999
1041
  *
1000
1042
  * **Official reference:** https://core.telegram.org/bots/api#leavechat
@@ -1005,7 +1047,7 @@ class Api {
1005
1047
  /**
1006
1048
  * Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a Chat object on success.
1007
1049
  *
1008
- * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
1050
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`
1009
1051
  * @param signal Optional `AbortSignal` to cancel the request
1010
1052
  *
1011
1053
  * **Official reference:** https://core.telegram.org/bots/api#getchat
@@ -1014,15 +1056,16 @@ class Api {
1014
1056
  return this.raw.getChat({ chat_id }, signal);
1015
1057
  }
1016
1058
  /**
1017
- * Use this method to get a list of administrators in a chat, which aren't bots. Returns an Array of ChatMember objects.
1059
+ * Use this method to get a list of administrators in a chat. Returns an Array of ChatMember objects.
1018
1060
  *
1019
- * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
1061
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`
1062
+ * @param other Optional remaining parameters, confer the official reference below
1020
1063
  * @param signal Optional `AbortSignal` to cancel the request
1021
1064
  *
1022
1065
  * **Official reference:** https://core.telegram.org/bots/api#getchatadministrators
1023
1066
  */
1024
- getChatAdministrators(chat_id, signal) {
1025
- return this.raw.getChatAdministrators({ chat_id }, signal);
1067
+ getChatAdministrators(chat_id, other, signal) {
1068
+ return this.raw.getChatAdministrators({ chat_id, ...other }, signal);
1026
1069
  }
1027
1070
  /** @deprecated Use `getChatMemberCount` instead. */
1028
1071
  getChatMembersCount(...args) {
@@ -1031,7 +1074,7 @@ class Api {
1031
1074
  /**
1032
1075
  * Use this method to get the number of members in a chat. Returns Int on success.
1033
1076
  *
1034
- * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
1077
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`
1035
1078
  * @param signal Optional `AbortSignal` to cancel the request
1036
1079
  *
1037
1080
  * **Official reference:** https://core.telegram.org/bots/api#getchatmembercount
@@ -1051,10 +1094,22 @@ class Api {
1051
1094
  getChatMember(chat_id, user_id, signal) {
1052
1095
  return this.raw.getChatMember({ chat_id, user_id }, signal);
1053
1096
  }
1097
+ /**
1098
+ * Use this method to get the last messages from the personal chat (i.e., the chat currently added to their profile) of a given user. On success, an array of Message objects is returned.
1099
+ *
1100
+ * @param user_id Unique identifier for the target user
1101
+ * @param limit The maximum number of messages to return; 1-20
1102
+ * @param signal Optional `AbortSignal` to cancel the request
1103
+ *
1104
+ * **Official reference:** https://core.telegram.org/bots/api#getuserpersonalchatmessages
1105
+ */
1106
+ getUserPersonalChatMessages(user_id, limit, signal) {
1107
+ return this.raw.getUserPersonalChatMessages({ user_id, limit }, signal);
1108
+ }
1054
1109
  /**
1055
1110
  * Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set ly returned in getChat requests to check if the bot can use this method. Returns True on success.
1056
1111
  *
1057
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1112
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1058
1113
  * @param sticker_set_name Name of the sticker set to be set as the group sticker set
1059
1114
  * @param signal Optional `AbortSignal` to cancel the request
1060
1115
  *
@@ -1066,7 +1121,7 @@ class Api {
1066
1121
  /**
1067
1122
  * Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set ly returned in getChat requests to check if the bot can use this method. Returns True on success.
1068
1123
  *
1069
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1124
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1070
1125
  * @param signal Optional `AbortSignal` to cancel the request
1071
1126
  *
1072
1127
  * **Official reference:** https://core.telegram.org/bots/api#deletechatstickerset
@@ -1087,7 +1142,7 @@ class Api {
1087
1142
  /**
1088
1143
  * Use this method to create a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns information about the created topic as a ForumTopic object.
1089
1144
  *
1090
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1145
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1091
1146
  * @param name Topic name, 1-128 characters
1092
1147
  * @param other Optional remaining parameters, confer the official reference below
1093
1148
  * @param signal Optional `AbortSignal` to cancel the request
@@ -1100,7 +1155,7 @@ class Api {
1100
1155
  /**
1101
1156
  * Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
1102
1157
  *
1103
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1158
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1104
1159
  * @param message_thread_id Unique identifier for the target message thread of the forum topic
1105
1160
  * @param other Optional remaining parameters, confer the official reference below
1106
1161
  * @param signal Optional `AbortSignal` to cancel the request
@@ -1113,7 +1168,7 @@ class Api {
1113
1168
  /**
1114
1169
  * Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
1115
1170
  *
1116
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1171
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1117
1172
  * @param message_thread_id Unique identifier for the target message thread of the forum topic
1118
1173
  * @param signal Optional `AbortSignal` to cancel the request
1119
1174
  *
@@ -1125,7 +1180,7 @@ class Api {
1125
1180
  /**
1126
1181
  * Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
1127
1182
  *
1128
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1183
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1129
1184
  * @param message_thread_id Unique identifier for the target message thread of the forum topic
1130
1185
  * @param signal Optional `AbortSignal` to cancel the request
1131
1186
  *
@@ -1137,7 +1192,7 @@ class Api {
1137
1192
  /**
1138
1193
  * Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
1139
1194
  *
1140
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1195
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1141
1196
  * @param message_thread_id Unique identifier for the target message thread of the forum topic
1142
1197
  * @param signal Optional `AbortSignal` to cancel the request
1143
1198
  *
@@ -1149,7 +1204,7 @@ class Api {
1149
1204
  /**
1150
1205
  * Use this method to clear the list of pinned messages in a forum topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
1151
1206
  *
1152
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1207
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1153
1208
  * @param message_thread_id Unique identifier for the target message thread of the forum topic
1154
1209
  * @param signal Optional `AbortSignal` to cancel the request
1155
1210
  *
@@ -1161,7 +1216,7 @@ class Api {
1161
1216
  /**
1162
1217
  * Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
1163
1218
  *
1164
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1219
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1165
1220
  * @param name New topic name, 1-128 characters
1166
1221
  * @param signal Optional `AbortSignal` to cancel the request
1167
1222
  *
@@ -1173,7 +1228,7 @@ class Api {
1173
1228
  /**
1174
1229
  * Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
1175
1230
  *
1176
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1231
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1177
1232
  * @param signal Optional `AbortSignal` to cancel the request
1178
1233
  *
1179
1234
  * **Official reference:** https://core.telegram.org/bots/api#closegeneralforumtopic
@@ -1184,7 +1239,7 @@ class Api {
1184
1239
  /**
1185
1240
  * Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success. *
1186
1241
  *
1187
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1242
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1188
1243
  * @param signal Optional `AbortSignal` to cancel the request
1189
1244
  *
1190
1245
  * **Official reference:** https://core.telegram.org/bots/api#reopengeneralforumtopic
@@ -1195,7 +1250,7 @@ class Api {
1195
1250
  /**
1196
1251
  * Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
1197
1252
  *
1198
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1253
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1199
1254
  * @param signal Optional `AbortSignal` to cancel the request
1200
1255
  *
1201
1256
  * **Official reference:** https://core.telegram.org/bots/api#hidegeneralforumtopic
@@ -1206,7 +1261,7 @@ class Api {
1206
1261
  /**
1207
1262
  * Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
1208
1263
  *
1209
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1264
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1210
1265
  * @param signal Optional `AbortSignal` to cancel the request
1211
1266
  *
1212
1267
  * **Official reference:** https://core.telegram.org/bots/api#unhidegeneralforumtopic
@@ -1217,7 +1272,7 @@ class Api {
1217
1272
  /**
1218
1273
  * Use this method to clear the list of pinned messages in a General forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
1219
1274
  *
1220
- * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
1275
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup in the format `@username`
1221
1276
  * @param signal Optional `AbortSignal` to cancel the request
1222
1277
  *
1223
1278
  * **Official reference:** https://core.telegram.org/bots/api#unpinallgeneralforumtopicmessages
@@ -1239,6 +1294,18 @@ class Api {
1239
1294
  answerCallbackQuery(callback_query_id, other, signal) {
1240
1295
  return this.raw.answerCallbackQuery({ callback_query_id, ...other }, signal);
1241
1296
  }
1297
+ /**
1298
+ * Use this method to reply to a received guest message. On success, a SentGuestMessage object is returned.
1299
+ *
1300
+ * @param guest_query_id Unique identifier for the query to be answered
1301
+ * @param result An object describing the message to be sent
1302
+ * @param signal Optional `AbortSignal` to cancel the request
1303
+ *
1304
+ * **Official reference:** https://core.telegram.org/bots/api#answerguestquery
1305
+ */
1306
+ answerGuestQuery(guest_query_id, result, signal) {
1307
+ return this.raw.answerGuestQuery({ guest_query_id, result }, signal);
1308
+ }
1242
1309
  /**
1243
1310
  * Use this method to change the bot's name. Returns True on success.
1244
1311
  *
@@ -1420,7 +1487,7 @@ class Api {
1420
1487
  /**
1421
1488
  * Use this method to edit text and game messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1422
1489
  *
1423
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1490
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1424
1491
  * @param message_id Identifier of the message to edit
1425
1492
  * @param text New text of the message, 1-4096 characters after entities parsing
1426
1493
  * @param other Optional remaining parameters, confer the official reference below
@@ -1446,7 +1513,7 @@ class Api {
1446
1513
  /**
1447
1514
  * Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1448
1515
  *
1449
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1516
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1450
1517
  * @param message_id Identifier of the message to edit
1451
1518
  * @param other Optional remaining parameters, confer the official reference below
1452
1519
  * @param signal Optional `AbortSignal` to cancel the request
@@ -1469,9 +1536,9 @@ class Api {
1469
1536
  return this.raw.editMessageCaption({ inline_message_id, ...other }, signal);
1470
1537
  }
1471
1538
  /**
1472
- * Use this method to edit animation, audio, document, photo, or video messages, or to add media to text messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1539
+ * Use this method to edit animation, audio, document, live photo, photo, or video messages, or to add media to text messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1473
1540
  *
1474
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1541
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1475
1542
  * @param message_id Identifier of the message to edit
1476
1543
  * @param media An object for a new media content of the message
1477
1544
  * @param other Optional remaining parameters, confer the official reference below
@@ -1483,7 +1550,7 @@ class Api {
1483
1550
  return this.raw.editMessageMedia({ chat_id, message_id, media, ...other }, signal);
1484
1551
  }
1485
1552
  /**
1486
- * Use this method to edit animation, audio, document, photo, or video inline messages, or to add media to text inline messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1553
+ * Use this method to edit animation, audio, document, live photo, photo, or video inline messages, or to add media to text inline messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1487
1554
  *
1488
1555
  * @param inline_message_id Identifier of the inline message
1489
1556
  * @param media An object for a new media content of the message
@@ -1498,7 +1565,7 @@ class Api {
1498
1565
  /**
1499
1566
  * Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
1500
1567
  *
1501
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1568
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1502
1569
  * @param message_id Identifier of the message to edit
1503
1570
  * @param other Optional remaining parameters, confer the official reference below
1504
1571
  * @param signal Optional `AbortSignal` to cancel the request
@@ -1523,7 +1590,7 @@ class Api {
1523
1590
  /**
1524
1591
  * Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
1525
1592
  *
1526
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1593
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1527
1594
  * @param message_id Identifier of the original message with the poll
1528
1595
  * @param other Optional remaining parameters, confer the official reference below
1529
1596
  * @param signal Optional `AbortSignal` to cancel the request
@@ -1545,7 +1612,7 @@ class Api {
1545
1612
  * - If the bot has can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
1546
1613
  * Returns True on success.
1547
1614
  *
1548
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1615
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1549
1616
  * @param message_id Identifier of the message to delete
1550
1617
  * @param signal Optional `AbortSignal` to cancel the request
1551
1618
  *
@@ -1557,7 +1624,7 @@ class Api {
1557
1624
  /**
1558
1625
  * Use this method to delete multiple messages simultaneously. Returns True on success.
1559
1626
  *
1560
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1627
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1561
1628
  * @param message_ids A list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted
1562
1629
  * @param signal Optional `AbortSignal` to cancel the request
1563
1630
  *
@@ -1566,6 +1633,78 @@ class Api {
1566
1633
  deleteMessages(chat_id, message_ids, signal) {
1567
1634
  return this.raw.deleteMessages({ chat_id, message_ids }, signal);
1568
1635
  }
1636
+ /**
1637
+ * Use this method to remove a reaction from a message in a group or a supergroup chat. The bot must have the 'can_delete_messages' administrator right in the chat. Returns True on success.
1638
+ *
1639
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format `@username`)
1640
+ * @param message_id Identifier of the target message
1641
+ * @param user_id Identifier of the user whose reaction will be removed
1642
+ * @param other Optional remaining parameters, confer the official reference below
1643
+ * @param signal Optional `AbortSignal` to cancel the request
1644
+ *
1645
+ * **Official reference:** https://core.telegram.org/bots/api#deletemessagereaction
1646
+ */
1647
+ deleteMessageReactionUser(chat_id, message_id, user_id, other, signal) {
1648
+ return this.raw.deleteMessageReaction({
1649
+ chat_id,
1650
+ message_id,
1651
+ user_id,
1652
+ ...other,
1653
+ }, signal);
1654
+ }
1655
+ /**
1656
+ * Use this method to remove a reaction from a message in a group or a supergroup chat. The bot must have the 'can_delete_messages' administrator right in the chat. Returns True on success.
1657
+ *
1658
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format `@username`)
1659
+ * @param message_id Identifier of the target message
1660
+ * @param actor_chat_id Identifier of the chat whose reaction will be removed
1661
+ * @param other Optional remaining parameters, confer the official reference below
1662
+ * @param signal Optional `AbortSignal` to cancel the request
1663
+ *
1664
+ * **Official reference:** https://core.telegram.org/bots/api#deletemessagereaction
1665
+ */
1666
+ deleteMessageReactionChat(chat_id, message_id, actor_chat_id, other, signal) {
1667
+ return this.raw.deleteMessageReaction({
1668
+ chat_id,
1669
+ message_id,
1670
+ actor_chat_id,
1671
+ ...other,
1672
+ }, signal);
1673
+ }
1674
+ /**
1675
+ * Use this method to remove up to 10000 recent reactions in a group or a supergroup chat added by a given user. The bot must have the 'can_delete_messages' administrator right in the chat. Returns True on success.
1676
+ *
1677
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format `@username`)
1678
+ * @param user_id Identifier of the user whose reactions will be removed, if the reactions were added by a user
1679
+ * @param other Optional remaining parameters, confer the official reference below
1680
+ * @param signal Optional `AbortSignal` to cancel the request
1681
+ *
1682
+ * **Official reference:** https://core.telegram.org/bots/api#deleteallmessagereactions
1683
+ */
1684
+ deleteAllMessageReactionsUser(chat_id, user_id, other, signal) {
1685
+ return this.raw.deleteAllMessageReactions({
1686
+ chat_id,
1687
+ user_id,
1688
+ ...other,
1689
+ }, signal);
1690
+ }
1691
+ /**
1692
+ * Use this method to remove up to 10000 recent reactions in a group or a supergroup chat added by a given chat. The bot must have the 'can_delete_messages' administrator right in the chat. Returns True on success.
1693
+ *
1694
+ * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format `@username`)
1695
+ * @param actor_chat_id Identifier of the chat whose reactions will be removed, if the reactions were added by a chat
1696
+ * @param other Optional remaining parameters, confer the official reference below
1697
+ * @param signal Optional `AbortSignal` to cancel the request
1698
+ *
1699
+ * **Official reference:** https://core.telegram.org/bots/api#deleteallmessagereactions
1700
+ */
1701
+ deleteAllMessageReactionsChat(chat_id, actor_chat_id, other, signal) {
1702
+ return this.raw.deleteAllMessageReactions({
1703
+ chat_id,
1704
+ actor_chat_id,
1705
+ ...other,
1706
+ }, signal);
1707
+ }
1569
1708
  /**
1570
1709
  * Delete messages on behalf of a business account. Requires the can_delete_outgoing_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
1571
1710
  *
@@ -1796,7 +1935,7 @@ class Api {
1796
1935
  /**
1797
1936
  * Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned.
1798
1937
  *
1799
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
1938
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
1800
1939
  * @param sticker Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data. Video and animated stickers can't be sent via an HTTP URL.
1801
1940
  * @param other Optional remaining parameters, confer the official reference below
1802
1941
  * @param signal Optional `AbortSignal` to cancel the request
@@ -2007,7 +2146,7 @@ class Api {
2007
2146
  /**
2008
2147
  * Sends a gift to the given user. The gift can't be converted to Telegram Stars by the receiver. Returns True on success.
2009
2148
  *
2010
- * @param user_id Unique identifier of the target user who will receive the gift
2149
+ * @param user_id Unique identifier for the chat or username of the channel (in the format `@username`) that will receive the gift.
2011
2150
  * @param gift_id Identifier of the gift
2012
2151
  * @param other Optional remaining parameters, confer the official reference below
2013
2152
  * @param signal Optional `AbortSignal` to cancel the request
@@ -2100,7 +2239,7 @@ class Api {
2100
2239
  /**
2101
2240
  * Use this method to send invoices. On success, the sent Message is returned.
2102
2241
  *
2103
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
2242
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
2104
2243
  * @param title Product name, 1-32 characters
2105
2244
  * @param description Product description, 1-255 characters
2106
2245
  * @param payload Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.
@@ -2224,7 +2363,7 @@ class Api {
2224
2363
  /**
2225
2364
  * Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success.
2226
2365
  *
2227
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername). Channel direct messages chats can't be verified.
2366
+ * @param chat_id Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
2228
2367
  * @param other Optional remaining parameters, confer the official reference below
2229
2368
  * @param signal Optional `AbortSignal` to cancel the request
2230
2369
  *
@@ -2247,7 +2386,7 @@ class Api {
2247
2386
  /**
2248
2387
  * Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
2249
2388
  *
2250
- * @param chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
2389
+ * @param chat_id Unique identifier for the target chat or username of the target bot or channel in the format `@username`
2251
2390
  * @param signal Optional `AbortSignal` to cancel the request
2252
2391
  *
2253
2392
  * **Official reference:** https://core.telegram.org/bots/api#removechatverification
@@ -2285,7 +2424,7 @@ class Api {
2285
2424
  /**
2286
2425
  * Use this method to send a game. On success, the sent Message is returned.
2287
2426
  *
2288
- * @param chat_id Unique identifier for the target chat. Games can't be sent to channel direct messages chats and channel chats.
2427
+ * @param chat_id Unique identifier for the target chat or username of the target bot in the format `@username`. Games can't be sent to channel direct messages chats and channel chats.
2289
2428
  * @param game_short_name Short name of the game, serves as the unique identifier for the game. Set up your games via BotFather.
2290
2429
  * @param other Optional remaining parameters, confer the official reference below
2291
2430
  * @param signal Optional `AbortSignal` to cancel the request