BaseTaskModuleTaskInfo Class
Base class for task module task info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Constructor
BaseTaskModuleTaskInfo(*, title: str | None = None, height: int | Literal['small', 'medium', 'large'] | None = None, width: int | Literal['small', 'medium', 'large'] | None = None, fallbackUrl: str | None = None, completionBotId: str | None = None, **extra_data: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
title
|
Default value: None
|
|
height
|
Default value: None
|
|
width
|
Default value: None
|
|
fallbackUrl
|
Default value: None
|
|
completionBotId
|
Default value: None
|
Attributes
completion_bot_id
If a client doesn't support task module feature, this URL opens in browser.
completion_bot_id: str | None
fallback_url
If a client doesn't support task module feature, this URL opens in browser.
fallback_url: str | None
height
Can be a number (pixels) or string ('small', 'medium', 'large').
height: int | Literal['small', 'medium', 'large'] | None
model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_config: ClassVar[ConfigDict] = {'alias_generator': AliasGenerator(alias=None, validation_alias=<staticmethod(<function CustomBaseModel.validation_alias_generator>)>, serialization_alias=<staticmethod(<function CustomBaseModel.serialization_alias_generator>)>), 'arbitrary_types_allowed': True, 'extra': 'allow', 'populate_by_name': True, 'serialize_by_alias': True, 'validate_by_alias': True, 'validate_by_name': True}
title
Appears below the app name and to the right of the app icon.
title: str | None
width
Can be a number (pixels) or string ('small', 'medium', 'large').
width: int | Literal['small', 'medium', 'large'] | None