@@ -489,7 +489,7 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
489489
490490 @property
491491 def attributes(self) -> Set[str]:
492- return super().attributes.union({"initial_time"})
492+ return super().attributes.union({"initial_time", "timezone" })
493493
494494 def __init__(
495495 self,
@@ -499,6 +499,7 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
499499 initial_time: Optional[str] = None,
500500 confirm: Optional[Union[dict, ConfirmObject]] = None,
501501 focus_on_load: Optional[bool] = None,
502+ timezone: Optional[str] = None,
502503 **others: dict,
503504 ):
504505 """
@@ -522,6 +523,7 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
522523 that appears after a time is selected.
523524 focus_on_load: Indicates whether the element will be set to auto focus within the view object.
524525 Only one element can be set to true. Defaults to false.
526+ timezone: The timezone to consider for this input value.
525527 """
526528 super().__init__(
527529 type=self.type,
@@ -533,6 +535,7 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
533535 show_unknown_key_warning(self, others)
534536
535537 self.initial_time = initial_time
538+ self.timezone = timezone
536539
537540 @JsonValidator("initial_time attribute must be in format 'HH:mm'")
538541 def _validate_initial_time_valid(self) -> bool:
@@ -4316,7 +4319,7 @@ <h3>Inherited members</h3>
43164319</ dd >
43174320< dt id ="slack_sdk.models.blocks.block_elements.TimePickerElement "> < code class ="flex name class ">
43184321< span > class < span class ="ident "> TimePickerElement</ span > </ span >
4319- < span > (</ span > < span > *, action_id: Optional[str] = None, placeholder: Union[str, dict, < a title ="slack_sdk.models.blocks.basic_components.TextObject " href ="basic_components.html#slack_sdk.models.blocks.basic_components.TextObject "> TextObject</ a > , ForwardRef(None)] = None, initial_time: Optional[str] = None, confirm: Union[dict, < a title ="slack_sdk.models.blocks.basic_components.ConfirmObject " href ="basic_components.html#slack_sdk.models.blocks.basic_components.ConfirmObject "> ConfirmObject</ a > , ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict)</ span >
4322+ < span > (</ span > < span > *, action_id: Optional[str] = None, placeholder: Union[str, dict, < a title ="slack_sdk.models.blocks.basic_components.TextObject " href ="basic_components.html#slack_sdk.models.blocks.basic_components.TextObject "> TextObject</ a > , ForwardRef(None)] = None, initial_time: Optional[str] = None, confirm: Union[dict, < a title ="slack_sdk.models.blocks.basic_components.ConfirmObject " href ="basic_components.html#slack_sdk.models.blocks.basic_components.ConfirmObject "> ConfirmObject</ a > , ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, timezone: Optional[str] = None, **others: dict)</ span >
43204323</ code > </ dt >
43214324< dd >
43224325< div class ="desc "> < p > Block Elements are things that exists inside of your Blocks.
@@ -4346,6 +4349,8 @@ <h2 id="args">Args</h2>
43464349< dt > < strong > < code > focus_on_load</ code > </ strong > </ dt >
43474350< dd > Indicates whether the element will be set to auto focus within the view object.
43484351Only one element can be set to true. Defaults to false.</ dd >
4352+ < dt > < strong > < code > timezone</ code > </ strong > </ dt >
4353+ < dd > The timezone to consider for this input value.</ dd >
43494354</ dl > </ div >
43504355< details class ="source ">
43514356< summary >
@@ -4356,7 +4361,7 @@ <h2 id="args">Args</h2>
43564361
43574362 @property
43584363 def attributes(self) -> Set[str]:
4359- return super().attributes.union({"initial_time"})
4364+ return super().attributes.union({"initial_time", "timezone" })
43604365
43614366 def __init__(
43624367 self,
@@ -4366,6 +4371,7 @@ <h2 id="args">Args</h2>
43664371 initial_time: Optional[str] = None,
43674372 confirm: Optional[Union[dict, ConfirmObject]] = None,
43684373 focus_on_load: Optional[bool] = None,
4374+ timezone: Optional[str] = None,
43694375 **others: dict,
43704376 ):
43714377 """
@@ -4389,6 +4395,7 @@ <h2 id="args">Args</h2>
43894395 that appears after a time is selected.
43904396 focus_on_load: Indicates whether the element will be set to auto focus within the view object.
43914397 Only one element can be set to true. Defaults to false.
4398+ timezone: The timezone to consider for this input value.
43924399 """
43934400 super().__init__(
43944401 type=self.type,
@@ -4400,6 +4407,7 @@ <h2 id="args">Args</h2>
44004407 show_unknown_key_warning(self, others)
44014408
44024409 self.initial_time = initial_time
4410+ self.timezone = timezone
44034411
44044412 @JsonValidator("initial_time attribute must be in format 'HH:mm'")
44054413 def _validate_initial_time_valid(self) -> bool:
0 commit comments