@@ -59,6 +59,7 @@ def create(
5959 max_rows : int | NotGiven = NOT_GIVEN ,
6060 publish : bool | NotGiven = NOT_GIVEN ,
6161 sample_questions : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
62+ webhooks : List [str ] | NotGiven = NOT_GIVEN ,
6263 welcome_message : Optional [str ] | NotGiven = NOT_GIVEN ,
6364 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6465 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -89,6 +90,8 @@ def create(
8990
9091 sample_questions: 示例问题列表
9192
93+ webhooks: Webhook URL 列表
94+
9295 welcome_message: 欢迎消息
9396
9497 extra_headers: Send extra headers
@@ -112,6 +115,7 @@ def create(
112115 "max_rows" : max_rows ,
113116 "publish" : publish ,
114117 "sample_questions" : sample_questions ,
118+ "webhooks" : webhooks ,
115119 "welcome_message" : welcome_message ,
116120 },
117121 bot_create_params .BotCreateParams ,
@@ -169,6 +173,7 @@ def update(
169173 name : Optional [str ] | NotGiven = NOT_GIVEN ,
170174 publish : Optional [bool ] | NotGiven = NOT_GIVEN ,
171175 sample_questions : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
176+ webhooks : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
172177 welcome_message : Optional [str ] | NotGiven = NOT_GIVEN ,
173178 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
174179 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -201,6 +206,8 @@ def update(
201206
202207 sample_questions: 示例问题列表
203208
209+ webhooks: Webhook URL 列表
210+
204211 welcome_message: 欢迎消息
205212
206213 extra_headers: Send extra headers
@@ -227,6 +234,7 @@ def update(
227234 "name" : name ,
228235 "publish" : publish ,
229236 "sample_questions" : sample_questions ,
237+ "webhooks" : webhooks ,
230238 "welcome_message" : welcome_message ,
231239 },
232240 bot_update_params .BotUpdateParams ,
@@ -392,6 +400,7 @@ async def create(
392400 max_rows : int | NotGiven = NOT_GIVEN ,
393401 publish : bool | NotGiven = NOT_GIVEN ,
394402 sample_questions : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
403+ webhooks : List [str ] | NotGiven = NOT_GIVEN ,
395404 welcome_message : Optional [str ] | NotGiven = NOT_GIVEN ,
396405 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
397406 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -422,6 +431,8 @@ async def create(
422431
423432 sample_questions: 示例问题列表
424433
434+ webhooks: Webhook URL 列表
435+
425436 welcome_message: 欢迎消息
426437
427438 extra_headers: Send extra headers
@@ -445,6 +456,7 @@ async def create(
445456 "max_rows" : max_rows ,
446457 "publish" : publish ,
447458 "sample_questions" : sample_questions ,
459+ "webhooks" : webhooks ,
448460 "welcome_message" : welcome_message ,
449461 },
450462 bot_create_params .BotCreateParams ,
@@ -502,6 +514,7 @@ async def update(
502514 name : Optional [str ] | NotGiven = NOT_GIVEN ,
503515 publish : Optional [bool ] | NotGiven = NOT_GIVEN ,
504516 sample_questions : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
517+ webhooks : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
505518 welcome_message : Optional [str ] | NotGiven = NOT_GIVEN ,
506519 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
507520 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -534,6 +547,8 @@ async def update(
534547
535548 sample_questions: 示例问题列表
536549
550+ webhooks: Webhook URL 列表
551+
537552 welcome_message: 欢迎消息
538553
539554 extra_headers: Send extra headers
@@ -560,6 +575,7 @@ async def update(
560575 "name" : name ,
561576 "publish" : publish ,
562577 "sample_questions" : sample_questions ,
578+ "webhooks" : webhooks ,
563579 "welcome_message" : welcome_message ,
564580 },
565581 bot_update_params .BotUpdateParams ,
0 commit comments