Skip to content

alicebot.adapter.telegram.model

Telegram 模型。

class Response

Bases: pydantic.main.BaseModel, typing.Generic

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • ok (bool)

    • description (Optional[str])

    • result (Optional[~_T])

    • error_code (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class User

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (int)

    • is_bot (bool)

    • first_name (str)

    • last_name (Optional[str])

    • username (Optional[str])

    • language_code (Optional[str])

    • is_premium (Optional[bool])

    • added_to_attachment_menu (Optional[bool])

    • can_join_groups (Optional[bool])

    • can_read_all_group_messages (Optional[bool])

    • supports_inline_queries (Optional[bool])

    • can_connect_to_business (Optional[bool])

    • has_main_web_app (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Chat

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (int)

    • type (str)

    • title (Optional[str])

    • username (Optional[str])

    • first_name (Optional[str])

    • last_name (Optional[str])

    • is_forum (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageOriginUser

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • date (int)

    • sender_user (User)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageOriginHiddenUser

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • date (int)

    • sender_user_name (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageOriginChat

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • date (int)

    • sender_chat (Chat)

    • author_signature (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageOriginChannel

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • date (int)

    • chat (Chat)

    • message_id (int)

    • author_signature (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class LinkPreviewOptions

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • is_disabled (Optional[bool])

    • url (Optional[str])

    • prefer_small_media (Optional[bool])

    • prefer_large_media (Optional[bool])

    • show_above_text (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PhotoSize

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • width (int)

    • height (int)

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Animation

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • width (int)

    • height (int)

    • duration (int)

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • file_name (Optional[str])

    • mime_type (Optional[str])

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Audio

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • duration (int)

    • performer (Optional[str])

    • title (Optional[str])

    • file_name (Optional[str])

    • mime_type (Optional[str])

    • file_size (Optional[int])

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Document

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • file_name (Optional[str])

    • mime_type (Optional[str])

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PaidMediaPreview

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • width (Optional[int])

    • height (Optional[int])

    • duration (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PaidMediaPhoto

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • photo (list[alicebot.adapter.telegram.model.PhotoSize])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Video

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • width (int)

    • height (int)

    • duration (int)

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • file_name (Optional[str])

    • mime_type (Optional[str])

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PaidMediaVideo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • video (Video)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PaidMediaInfo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • star_count (int)

    • paid_media (list[typing.Union[alicebot.adapter.telegram.model.PaidMediaPreview, alicebot.adapter.telegram.model.PaidMediaPhoto, alicebot.adapter.telegram.model.PaidMediaVideo]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class File

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • file_size (Optional[int])

    • file_path (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MaskPosition

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • point (str)

    • x_shift (float)

    • y_shift (float)

    • scale (float)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Sticker

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • type (str)

    • width (int)

    • height (int)

    • is_animated (bool)

    • is_video (bool)

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • emoji (Optional[str])

    • set_name (Optional[str])

    • premium_animation (Optional[alicebot.adapter.telegram.model.File])

    • mask_position (Optional[alicebot.adapter.telegram.model.MaskPosition])

    • custom_emoji_id (Optional[str])

    • needs_repainting (Optional[bool])

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Story

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • id (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class VideoNote

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • length (int)

    • duration (int)

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Voice

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • duration (int)

    • mime_type (Optional[str])

    • file_size (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Contact

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • phone_number (str)

    • first_name (str)

    • last_name (Optional[str])

    • user_id (Optional[int])

    • vcard (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Dice

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • emoji (str)

    • value (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageEntity

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • offset (int)

    • length (int)

    • url (Optional[str])

    • user (Optional[alicebot.adapter.telegram.model.User])

    • language (Optional[str])

    • custom_emoji_id (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Game

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • title (str)

    • description (str)

    • photo (list[alicebot.adapter.telegram.model.PhotoSize])

    • text (Optional[str])

    • text_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • animation (Optional[alicebot.adapter.telegram.model.Animation])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Giveaway

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chats (list[alicebot.adapter.telegram.model.Chat])

    • winners_selection_date (int)

    • winner_count (int)

    • only_new_members (Optional[bool])

    • has_public_winners (Optional[bool])

    • prize_description (Optional[str])

    • country_codes (Optional[list[str]])

    • prize_star_count (Optional[int])

    • premium_subscription_month_count (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class GiveawayWinners

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • giveaway_message_id (int)

    • winners_selection_date (int)

    • winner_count (int)

    • winners (list[alicebot.adapter.telegram.model.User])

    • additional_chat_count (Optional[int])

    • prize_star_count (Optional[int])

    • premium_subscription_month_count (Optional[int])

    • unclaimed_prize_count (Optional[int])

    • only_new_members (Optional[bool])

    • was_refunded (Optional[bool])

    • prize_description (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Invoice

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • title (str)

    • description (str)

    • start_parameter (str)

    • currency (str)

    • total_amount (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Location

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • latitude (float)

    • longitude (float)

    • horizontal_accuracy (Optional[float])

    • live_period (Optional[int])

    • heading (Optional[int])

    • proximity_alert_radius (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PollOption

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • text (str)

    • text_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • voter_count (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Poll

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • question (str)

    • question_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • options (list[alicebot.adapter.telegram.model.PollOption])

    • total_voter_count (int)

    • is_closed (bool)

    • is_anonymous (bool)

    • type (str)

    • allows_multiple_answers (bool)

    • correct_option_id (Optional[int])

    • explanation (Optional[str])

    • explanation_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • open_period (Optional[int])

    • close_date (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Venue

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • location (Location)

    • title (str)

    • address (str)

    • foursquare_id (Optional[str])

    • foursquare_type (Optional[str])

    • google_place_id (Optional[str])

    • google_place_type (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ExternalReplyInfo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • origin (Union[alicebot.adapter.telegram.model.MessageOriginUser, alicebot.adapter.telegram.model.MessageOriginHiddenUser, alicebot.adapter.telegram.model.MessageOriginChat, alicebot.adapter.telegram.model.MessageOriginChannel])

    • chat (Optional[alicebot.adapter.telegram.model.Chat])

    • message_id (Optional[int])

    • link_preview_options (Optional[alicebot.adapter.telegram.model.LinkPreviewOptions])

    • animation (Optional[alicebot.adapter.telegram.model.Animation])

    • audio (Optional[alicebot.adapter.telegram.model.Audio])

    • document (Optional[alicebot.adapter.telegram.model.Document])

    • paid_media (Optional[alicebot.adapter.telegram.model.PaidMediaInfo])

    • photo (Optional[list[alicebot.adapter.telegram.model.PhotoSize]])

    • sticker (Optional[alicebot.adapter.telegram.model.Sticker])

    • story (Optional[alicebot.adapter.telegram.model.Story])

    • video (Optional[alicebot.adapter.telegram.model.Video])

    • video_note (Optional[alicebot.adapter.telegram.model.VideoNote])

    • voice (Optional[alicebot.adapter.telegram.model.Voice])

    • has_media_spoiler (Optional[bool])

    • contact (Optional[alicebot.adapter.telegram.model.Contact])

    • dice (Optional[alicebot.adapter.telegram.model.Dice])

    • game (Optional[alicebot.adapter.telegram.model.Game])

    • giveaway (Optional[alicebot.adapter.telegram.model.Giveaway])

    • giveaway_winners (Optional[alicebot.adapter.telegram.model.GiveawayWinners])

    • invoice (Optional[alicebot.adapter.telegram.model.Invoice])

    • location (Optional[alicebot.adapter.telegram.model.Location])

    • poll (Optional[alicebot.adapter.telegram.model.Poll])

    • venue (Optional[alicebot.adapter.telegram.model.Venue])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class TextQuote

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • text (str)

    • entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • position (int)

    • is_manual (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageAutoDeleteTimerChanged

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • message_auto_delete_time (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InaccessibleMessage

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • message_id (int)

    • date (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ShippingAddress

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • country_code (str)

    • state (str)

    • city (str)

    • street_line1 (str)

    • street_line2 (str)

    • post_code (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class OrderInfo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • name (Optional[str])

    • phone_number (Optional[str])

    • email (Optional[str])

    • shipping_address (Optional[alicebot.adapter.telegram.model.ShippingAddress])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class SuccessfulPayment

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • currency (str)

    • total_amount (int)

    • invoice_payload (str)

    • shipping_option_id (Optional[str])

    • order_info (Optional[alicebot.adapter.telegram.model.OrderInfo])

    • telegram_payment_charge_id (str)

    • provider_payment_charge_id (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class RefundedPayment

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • currency (str)

    • total_amount (int)

    • invoice_payload (str)

    • telegram_payment_charge_id (str)

    • provider_payment_charge_id (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class SharedUser

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • user_id (int)

    • first_name (Optional[str])

    • last_name (Optional[str])

    • username (Optional[str])

    • photo (Optional[list[alicebot.adapter.telegram.model.PhotoSize]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class UsersShared

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • request_id (int)

    • users (list[alicebot.adapter.telegram.model.SharedUser])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatShared

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • request_id (int)

    • chat_id (int)

    • title (Optional[str])

    • username (Optional[str])

    • photo (Optional[list[alicebot.adapter.telegram.model.PhotoSize]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class WriteAccessAllowed

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • from_request (Optional[bool])

    • web_app_name (Optional[str])

    • from_attachment_menu (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportFile

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • file_id (str)

    • file_unique_id (str)

    • file_size (int)

    • file_date (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class EncryptedPassportElement

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • data (Optional[str])

    • phone_number (Optional[str])

    • email (Optional[str])

    • files (Optional[list[alicebot.adapter.telegram.model.PassportFile]])

    • front_side (Optional[alicebot.adapter.telegram.model.PassportFile])

    • reverse_side (Optional[alicebot.adapter.telegram.model.PassportFile])

    • selfie (Optional[alicebot.adapter.telegram.model.PassportFile])

    • translation (Optional[list[alicebot.adapter.telegram.model.PassportFile]])

    • hash (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class EncryptedCredentials

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • data (str)

    • hash (str)

    • secret (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportData

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • data (list[alicebot.adapter.telegram.model.EncryptedPassportElement])

    • credentials (EncryptedCredentials)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ProximityAlertTriggered

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • traveler (User)

    • watcher (User)

    • distance (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoostAdded

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • boost_count (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundFillSolid

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • color (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundFillGradient

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • top_color (int)

    • bottom_color (int)

    • rotation_angle (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundFillFreeformGradient

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • colors (list[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundTypeFill

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • fill (Union[alicebot.adapter.telegram.model.BackgroundFillSolid, alicebot.adapter.telegram.model.BackgroundFillGradient, alicebot.adapter.telegram.model.BackgroundFillFreeformGradient])

    • dark_theme_dimming (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundTypeWallpaper

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • document (Document)

    • dark_theme_dimming (int)

    • is_blurred (Optional[bool])

    • is_moving (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundTypePattern

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • document (Document)

    • fill (Union[alicebot.adapter.telegram.model.BackgroundFillSolid, alicebot.adapter.telegram.model.BackgroundFillGradient, alicebot.adapter.telegram.model.BackgroundFillFreeformGradient])

    • intensity (int)

    • is_inverted (Optional[bool])

    • is_moving (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BackgroundTypeChatTheme

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • theme_name (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBackground

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (Union[alicebot.adapter.telegram.model.BackgroundTypeFill, alicebot.adapter.telegram.model.BackgroundTypeWallpaper, alicebot.adapter.telegram.model.BackgroundTypePattern, alicebot.adapter.telegram.model.BackgroundTypeChatTheme])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ForumTopicCreated

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • name (str)

    • icon_color (int)

    • icon_custom_emoji_id (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ForumTopicEdited

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • name (Optional[str])

    • icon_custom_emoji_id (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ForumTopicClosed

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ForumTopicReopened

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class GeneralForumTopicHidden

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class GeneralForumTopicUnhidden

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class GiveawayCreated

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • prize_star_count (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class GiveawayCompleted

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • winner_count (int)

    • unclaimed_prize_count (Optional[int])

    • giveaway_message (Optional[Message])

    • is_star_giveaway (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class VideoChatScheduled

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • start_date (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class VideoChatStarted

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class VideoChatEnded

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • duration (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class VideoChatParticipantsInvited

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • users (list[alicebot.adapter.telegram.model.User])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class WebAppData

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • data (str)

    • button_text (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class WebAppInfo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • url (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class LoginUrl

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • url (str)

    • forward_text (Optional[str])

    • bot_username (Optional[str])

    • request_write_access (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class SwitchInlineQueryChosenChat

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • query (Optional[str])

    • allow_user_chats (Optional[bool])

    • allow_bot_chats (Optional[bool])

    • allow_group_chats (Optional[bool])

    • allow_channel_chats (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class CallbackGame

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineKeyboardButton

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • text (str)

    • url (Optional[str])

    • callback_data (Optional[str])

    • web_app (Optional[alicebot.adapter.telegram.model.WebAppInfo])

    • login_url (Optional[alicebot.adapter.telegram.model.LoginUrl])

    • switch_inline_query (Optional[str])

    • switch_inline_query_current_chat (Optional[str])

    • switch_inline_query_chosen_chat (Optional[alicebot.adapter.telegram.model.SwitchInlineQueryChosenChat])

    • callback_game (Optional[alicebot.adapter.telegram.model.CallbackGame])

    • pay (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineKeyboardMarkup

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • inline_keyboard (list[list[alicebot.adapter.telegram.model.InlineKeyboardButton]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Message

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • message_id (int)

    • message_thread_id (Optional[int])

    • from_ (Optional[alicebot.adapter.telegram.model.User])

    • sender_chat (Optional[alicebot.adapter.telegram.model.Chat])

    • sender_boost_count (Optional[int])

    • sender_business_bot (Optional[alicebot.adapter.telegram.model.User])

    • date (int)

    • business_connection_id (Optional[str])

    • chat (Chat)

    • forward_origin (Union[alicebot.adapter.telegram.model.MessageOriginUser, alicebot.adapter.telegram.model.MessageOriginHiddenUser, alicebot.adapter.telegram.model.MessageOriginChat, alicebot.adapter.telegram.model.MessageOriginChannel, NoneType])

    • is_topic_message (Optional[bool])

    • is_automatic_forward (Optional[bool])

    • reply_to_message (Optional[Message])

    • external_reply (Optional[alicebot.adapter.telegram.model.ExternalReplyInfo])

    • quote (Optional[alicebot.adapter.telegram.model.TextQuote])

    • reply_to_story (Optional[alicebot.adapter.telegram.model.Story])

    • via_bot (Optional[alicebot.adapter.telegram.model.User])

    • edit_date (Optional[int])

    • has_protected_content (Optional[bool])

    • is_from_offline (Optional[bool])

    • media_group_id (Optional[str])

    • author_signature (Optional[str])

    • text (Optional[str])

    • entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • link_preview_options (Optional[alicebot.adapter.telegram.model.LinkPreviewOptions])

    • effect_id (Optional[str])

    • animation (Optional[alicebot.adapter.telegram.model.Animation])

    • audio (Optional[alicebot.adapter.telegram.model.Audio])

    • document (Optional[alicebot.adapter.telegram.model.Document])

    • paid_media (Optional[alicebot.adapter.telegram.model.PaidMediaInfo])

    • photo (Optional[list[alicebot.adapter.telegram.model.PhotoSize]])

    • sticker (Optional[alicebot.adapter.telegram.model.Sticker])

    • story (Optional[alicebot.adapter.telegram.model.Story])

    • video (Optional[alicebot.adapter.telegram.model.Video])

    • video_note (Optional[alicebot.adapter.telegram.model.VideoNote])

    • voice (Optional[alicebot.adapter.telegram.model.Voice])

    • caption (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • has_media_spoiler (Optional[bool])

    • contact (Optional[alicebot.adapter.telegram.model.Contact])

    • dice (Optional[alicebot.adapter.telegram.model.Dice])

    • game (Optional[alicebot.adapter.telegram.model.Game])

    • poll (Optional[alicebot.adapter.telegram.model.Poll])

    • venue (Optional[alicebot.adapter.telegram.model.Venue])

    • location (Optional[alicebot.adapter.telegram.model.Location])

    • new_chat_members (Optional[list[alicebot.adapter.telegram.model.User]])

    • left_chat_member (Optional[alicebot.adapter.telegram.model.User])

    • new_chat_title (Optional[str])

    • new_chat_photo (Optional[list[alicebot.adapter.telegram.model.PhotoSize]])

    • delete_chat_photo (Optional[bool])

    • group_chat_created (Optional[bool])

    • supergroup_chat_created (Optional[bool])

    • channel_chat_created (Optional[bool])

    • message_auto_delete_timer_changed (Optional[alicebot.adapter.telegram.model.MessageAutoDeleteTimerChanged])

    • migrate_to_chat_id (Optional[int])

    • migrate_from_chat_id (Optional[int])

    • pinned_message (Union[Message, alicebot.adapter.telegram.model.InaccessibleMessage, NoneType])

    • invoice (Optional[alicebot.adapter.telegram.model.Invoice])

    • successful_payment (Optional[alicebot.adapter.telegram.model.SuccessfulPayment])

    • refunded_payment (Optional[alicebot.adapter.telegram.model.RefundedPayment])

    • users_shared (Optional[alicebot.adapter.telegram.model.UsersShared])

    • chat_shared (Optional[alicebot.adapter.telegram.model.ChatShared])

    • connected_website (Optional[str])

    • write_access_allowed (Optional[alicebot.adapter.telegram.model.WriteAccessAllowed])

    • passport_data (Optional[alicebot.adapter.telegram.model.PassportData])

    • proximity_alert_triggered (Optional[alicebot.adapter.telegram.model.ProximityAlertTriggered])

    • boost_added (Optional[alicebot.adapter.telegram.model.ChatBoostAdded])

    • chat_background_set (Optional[alicebot.adapter.telegram.model.ChatBackground])

    • forum_topic_created (Optional[alicebot.adapter.telegram.model.ForumTopicCreated])

    • forum_topic_edited (Optional[alicebot.adapter.telegram.model.ForumTopicEdited])

    • forum_topic_closed (Optional[alicebot.adapter.telegram.model.ForumTopicClosed])

    • forum_topic_reopened (Optional[alicebot.adapter.telegram.model.ForumTopicReopened])

    • general_forum_topic_hidden (Optional[alicebot.adapter.telegram.model.GeneralForumTopicHidden])

    • general_forum_topic_unhidden (Optional[alicebot.adapter.telegram.model.GeneralForumTopicUnhidden])

    • giveaway_created (Optional[alicebot.adapter.telegram.model.GiveawayCreated])

    • giveaway (Optional[alicebot.adapter.telegram.model.Giveaway])

    • giveaway_winners (Optional[alicebot.adapter.telegram.model.GiveawayWinners])

    • giveaway_completed (Optional[alicebot.adapter.telegram.model.GiveawayCompleted])

    • video_chat_scheduled (Optional[alicebot.adapter.telegram.model.VideoChatScheduled])

    • video_chat_started (Optional[alicebot.adapter.telegram.model.VideoChatStarted])

    • video_chat_ended (Optional[alicebot.adapter.telegram.model.VideoChatEnded])

    • video_chat_participants_invited (Optional[alicebot.adapter.telegram.model.VideoChatParticipantsInvited])

    • web_app_data (Optional[alicebot.adapter.telegram.model.WebAppData])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BusinessConnection

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • user (User)

    • user_chat_id (int)

    • date (int)

    • can_reply (bool)

    • is_enabled (bool)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BusinessMessagesDeleted

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • business_connection_id (str)

    • chat (Chat)

    • message_ids (list[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReactionTypeEmoji

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • emoji (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReactionTypeCustomEmoji

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • custom_emoji_id (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReactionTypePaid

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageReactionUpdated

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • message_id (int)

    • user (Optional[alicebot.adapter.telegram.model.User])

    • actor_chat (Optional[alicebot.adapter.telegram.model.Chat])

    • date (int)

    • old_reaction (list[typing.Union[alicebot.adapter.telegram.model.ReactionTypeEmoji, alicebot.adapter.telegram.model.ReactionTypeCustomEmoji, alicebot.adapter.telegram.model.ReactionTypePaid]])

    • new_reaction (list[typing.Union[alicebot.adapter.telegram.model.ReactionTypeEmoji, alicebot.adapter.telegram.model.ReactionTypeCustomEmoji, alicebot.adapter.telegram.model.ReactionTypePaid]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReactionCount

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (Union[alicebot.adapter.telegram.model.ReactionTypeEmoji, alicebot.adapter.telegram.model.ReactionTypeCustomEmoji, alicebot.adapter.telegram.model.ReactionTypePaid])

    • total_count (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageReactionCountUpdated

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • message_id (int)

    • date (int)

    • reactions (list[alicebot.adapter.telegram.model.ReactionCount])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQuery

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • from_ (User)

    • query (str)

    • offset (str)

    • chat_type (Optional[str])

    • location (Optional[alicebot.adapter.telegram.model.Location])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChosenInlineResult

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • result_id (str)

    • from_ (User)

    • location (Optional[alicebot.adapter.telegram.model.Location])

    • inline_message_id (Optional[str])

    • query (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class CallbackQuery

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • from_ (User)

    • message (Union[Message, alicebot.adapter.telegram.model.InaccessibleMessage, NoneType])

    • inline_message_id (Optional[str])

    • chat_instance (str)

    • data (Optional[str])

    • game_short_name (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ShippingQuery

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • from_ (User)

    • invoice_payload (str)

    • shipping_address (ShippingAddress)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PreCheckoutQuery

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • from_ (User)

    • currency (str)

    • total_amount (int)

    • invoice_payload (str)

    • shipping_option_id (Optional[str])

    • order_info (Optional[alicebot.adapter.telegram.model.OrderInfo])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PaidMediaPurchased

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • from_ (User)

    • paid_media_payload (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PollAnswer

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • poll_id (str)

    • voter_chat (Optional[alicebot.adapter.telegram.model.Chat])

    • user (Optional[alicebot.adapter.telegram.model.User])

    • option_ids (list[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberOwner

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • status (str)

    • user (User)

    • is_anonymous (bool)

    • custom_title (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberAdministrator

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • status (str)

    • user (User)

    • can_be_edited (bool)

    • is_anonymous (bool)

    • can_manage_chat (bool)

    • can_delete_messages (bool)

    • can_manage_video_chats (bool)

    • can_restrict_members (bool)

    • can_promote_members (bool)

    • can_change_info (bool)

    • can_invite_users (bool)

    • can_post_stories (bool)

    • can_edit_stories (bool)

    • can_delete_stories (bool)

    • can_post_messages (Optional[bool])

    • can_edit_messages (Optional[bool])

    • can_pin_messages (Optional[bool])

    • can_manage_topics (Optional[bool])

    • custom_title (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberMember

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • status (str)

    • user (User)

    • until_date (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberRestricted

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • status (str)

    • user (User)

    • is_member (bool)

    • can_send_messages (bool)

    • can_send_audios (bool)

    • can_send_documents (bool)

    • can_send_photos (bool)

    • can_send_videos (bool)

    • can_send_video_notes (bool)

    • can_send_voice_notes (bool)

    • can_send_polls (bool)

    • can_send_other_messages (bool)

    • can_add_web_page_previews (bool)

    • can_change_info (bool)

    • can_invite_users (bool)

    • can_pin_messages (bool)

    • can_manage_topics (bool)

    • until_date (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberLeft

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • status (str)

    • user (User)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberBanned

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • status (str)

    • user (User)

    • until_date (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • invite_link (str)

    • creator (User)

    • creates_join_request (bool)

    • is_primary (bool)

    • is_revoked (bool)

    • name (Optional[str])

    • expire_date (Optional[int])

    • member_limit (Optional[int])

    • pending_join_request_count (Optional[int])

    • subscription_period (Optional[int])

    • subscription_price (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatMemberUpdated

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • from_ (User)

    • date (int)

    • old_chat_member (Union[alicebot.adapter.telegram.model.ChatMemberOwner, alicebot.adapter.telegram.model.ChatMemberAdministrator, alicebot.adapter.telegram.model.ChatMemberMember, alicebot.adapter.telegram.model.ChatMemberRestricted, alicebot.adapter.telegram.model.ChatMemberLeft, alicebot.adapter.telegram.model.ChatMemberBanned])

    • new_chat_member (Union[alicebot.adapter.telegram.model.ChatMemberOwner, alicebot.adapter.telegram.model.ChatMemberAdministrator, alicebot.adapter.telegram.model.ChatMemberMember, alicebot.adapter.telegram.model.ChatMemberRestricted, alicebot.adapter.telegram.model.ChatMemberLeft, alicebot.adapter.telegram.model.ChatMemberBanned])

    • invite_link (Optional[alicebot.adapter.telegram.model.ChatInviteLink])

    • via_join_request (Optional[bool])

    • via_chat_folder_invite_link (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatJoinRequest

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • from_ (User)

    • user_chat_id (int)

    • date (int)

    • bio (Optional[str])

    • invite_link (Optional[alicebot.adapter.telegram.model.ChatInviteLink])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoostSourcePremium

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • user (User)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoostSourceGiftCode

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • user (User)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoostSourceGiveaway

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • giveaway_message_id (int)

    • user (Optional[alicebot.adapter.telegram.model.User])

    • prize_star_count (Optional[int])

    • is_unclaimed (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoost

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • boost_id (str)

    • add_date (int)

    • expiration_date (int)

    • source (Union[alicebot.adapter.telegram.model.ChatBoostSourcePremium, alicebot.adapter.telegram.model.ChatBoostSourceGiftCode, alicebot.adapter.telegram.model.ChatBoostSourceGiveaway])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoostUpdated

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • boost (ChatBoost)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatBoostRemoved

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • chat (Chat)

    • boost_id (str)

    • remove_date (int)

    • source (Union[alicebot.adapter.telegram.model.ChatBoostSourcePremium, alicebot.adapter.telegram.model.ChatBoostSourceGiftCode, alicebot.adapter.telegram.model.ChatBoostSourceGiveaway])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Update

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • update_id (int)

    • message (Optional[alicebot.adapter.telegram.model.Message])

    • edited_message (Optional[alicebot.adapter.telegram.model.Message])

    • channel_post (Optional[alicebot.adapter.telegram.model.Message])

    • edited_channel_post (Optional[alicebot.adapter.telegram.model.Message])

    • business_connection (Optional[alicebot.adapter.telegram.model.BusinessConnection])

    • business_message (Optional[alicebot.adapter.telegram.model.Message])

    • edited_business_message (Optional[alicebot.adapter.telegram.model.Message])

    • deleted_business_messages (Optional[alicebot.adapter.telegram.model.BusinessMessagesDeleted])

    • message_reaction (Optional[alicebot.adapter.telegram.model.MessageReactionUpdated])

    • message_reaction_count (Optional[alicebot.adapter.telegram.model.MessageReactionCountUpdated])

    • inline_query (Optional[alicebot.adapter.telegram.model.InlineQuery])

    • chosen_inline_result (Optional[alicebot.adapter.telegram.model.ChosenInlineResult])

    • callback_query (Optional[alicebot.adapter.telegram.model.CallbackQuery])

    • shipping_query (Optional[alicebot.adapter.telegram.model.ShippingQuery])

    • pre_checkout_query (Optional[alicebot.adapter.telegram.model.PreCheckoutQuery])

    • purchased_paid_media (Optional[alicebot.adapter.telegram.model.PaidMediaPurchased])

    • poll (Optional[alicebot.adapter.telegram.model.Poll])

    • poll_answer (Optional[alicebot.adapter.telegram.model.PollAnswer])

    • my_chat_member (Optional[alicebot.adapter.telegram.model.ChatMemberUpdated])

    • chat_member (Optional[alicebot.adapter.telegram.model.ChatMemberUpdated])

    • chat_join_request (Optional[alicebot.adapter.telegram.model.ChatJoinRequest])

    • chat_boost (Optional[alicebot.adapter.telegram.model.ChatBoostUpdated])

    • removed_chat_boost (Optional[alicebot.adapter.telegram.model.ChatBoostRemoved])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class WebhookInfo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • url (str)

    • has_custom_certificate (bool)

    • pending_update_count (int)

    • ip_address (Optional[str])

    • last_error_date (Optional[int])

    • last_error_message (Optional[str])

    • last_synchronization_error_date (Optional[int])

    • max_connections (Optional[int])

    • allowed_updates (Optional[list[str]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatPhoto

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • small_file_id (str)

    • small_file_unique_id (str)

    • big_file_id (str)

    • big_file_unique_id (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class Birthdate

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • day (int)

    • month (int)

    • year (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BusinessIntro

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • title (Optional[str])

    • message (Optional[str])

    • sticker (Optional[alicebot.adapter.telegram.model.Sticker])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BusinessLocation

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • address (str)

    • location (Optional[alicebot.adapter.telegram.model.Location])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BusinessOpeningHoursInterval

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • opening_minute (int)

    • closing_minute (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BusinessOpeningHours

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • time_zone_name (str)

    • opening_hours (list[alicebot.adapter.telegram.model.BusinessOpeningHoursInterval])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatPermissions

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • can_send_messages (Optional[bool])

    • can_send_audios (Optional[bool])

    • can_send_documents (Optional[bool])

    • can_send_photos (Optional[bool])

    • can_send_videos (Optional[bool])

    • can_send_video_notes (Optional[bool])

    • can_send_voice_notes (Optional[bool])

    • can_send_polls (Optional[bool])

    • can_send_other_messages (Optional[bool])

    • can_add_web_page_previews (Optional[bool])

    • can_change_info (Optional[bool])

    • can_invite_users (Optional[bool])

    • can_pin_messages (Optional[bool])

    • can_manage_topics (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatLocation

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • location (Location)

    • address (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatFullInfo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (int)

    • type (str)

    • title (Optional[str])

    • username (Optional[str])

    • first_name (Optional[str])

    • last_name (Optional[str])

    • is_forum (Optional[bool])

    • accent_color_id (int)

    • max_reaction_count (int)

    • photo (Optional[alicebot.adapter.telegram.model.ChatPhoto])

    • active_usernames (Optional[list[str]])

    • birthdate (Optional[alicebot.adapter.telegram.model.Birthdate])

    • business_intro (Optional[alicebot.adapter.telegram.model.BusinessIntro])

    • business_location (Optional[alicebot.adapter.telegram.model.BusinessLocation])

    • business_opening_hours (Optional[alicebot.adapter.telegram.model.BusinessOpeningHours])

    • personal_chat (Optional[alicebot.adapter.telegram.model.Chat])

    • available_reactions (Optional[list[Union[alicebot.adapter.telegram.model.ReactionTypeEmoji, alicebot.adapter.telegram.model.ReactionTypeCustomEmoji, alicebot.adapter.telegram.model.ReactionTypePaid]]])

    • background_custom_emoji_id (Optional[str])

    • profile_accent_color_id (Optional[int])

    • profile_background_custom_emoji_id (Optional[str])

    • emoji_status_custom_emoji_id (Optional[str])

    • emoji_status_expiration_date (Optional[int])

    • bio (Optional[str])

    • has_private_forwards (Optional[bool])

    • has_restricted_voice_and_video_messages (Optional[bool])

    • join_to_send_messages (Optional[bool])

    • join_by_request (Optional[bool])

    • description (Optional[str])

    • invite_link (Optional[str])

    • pinned_message (Optional[alicebot.adapter.telegram.model.Message])

    • permissions (Optional[alicebot.adapter.telegram.model.ChatPermissions])

    • can_send_paid_media (Optional[bool])

    • slow_mode_delay (Optional[int])

    • unrestrict_boost_count (Optional[int])

    • message_auto_delete_time (Optional[int])

    • has_aggressive_anti_spam_enabled (Optional[bool])

    • has_hidden_members (Optional[bool])

    • has_protected_content (Optional[bool])

    • has_visible_history (Optional[bool])

    • sticker_set_name (Optional[str])

    • can_set_sticker_set (Optional[bool])

    • custom_emoji_sticker_set_name (Optional[str])

    • linked_chat_id (Optional[int])

    • location (Optional[alicebot.adapter.telegram.model.ChatLocation])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class MessageId

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • message_id (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReplyParameters

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • message_id (int)

    • chat_id (Union[int, str, NoneType])

    • allow_sending_without_reply (Optional[bool])

    • quote (Optional[str])

    • quote_parse_mode (Optional[str])

    • quote_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • quote_position (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputPollOption

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • text (str)

    • text_parse_mode (Optional[str])

    • text_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class UserProfilePhotos

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • total_count (int)

    • photos (list[list[alicebot.adapter.telegram.model.PhotoSize]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class KeyboardButtonRequestUsers

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • request_id (int)

    • user_is_bot (Optional[bool])

    • user_is_premium (Optional[bool])

    • max_quantity (Optional[int])

    • request_name (Optional[bool])

    • request_username (Optional[bool])

    • request_photo (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ChatAdministratorRights

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • is_anonymous (bool)

    • can_manage_chat (bool)

    • can_delete_messages (bool)

    • can_manage_video_chats (bool)

    • can_restrict_members (bool)

    • can_promote_members (bool)

    • can_change_info (bool)

    • can_invite_users (bool)

    • can_post_stories (bool)

    • can_edit_stories (bool)

    • can_delete_stories (bool)

    • can_post_messages (Optional[bool])

    • can_edit_messages (Optional[bool])

    • can_pin_messages (Optional[bool])

    • can_manage_topics (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class KeyboardButtonRequestChat

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • request_id (int)

    • chat_is_channel (bool)

    • chat_is_forum (Optional[bool])

    • chat_has_username (Optional[bool])

    • chat_is_created (Optional[bool])

    • user_administrator_rights (Optional[alicebot.adapter.telegram.model.ChatAdministratorRights])

    • bot_administrator_rights (Optional[alicebot.adapter.telegram.model.ChatAdministratorRights])

    • bot_is_member (Optional[bool])

    • request_title (Optional[bool])

    • request_username (Optional[bool])

    • request_photo (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class KeyboardButtonPollType

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class KeyboardButton

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • text (str)

    • request_users (Optional[alicebot.adapter.telegram.model.KeyboardButtonRequestUsers])

    • request_chat (Optional[alicebot.adapter.telegram.model.KeyboardButtonRequestChat])

    • request_contact (Optional[bool])

    • request_location (Optional[bool])

    • request_poll (Optional[alicebot.adapter.telegram.model.KeyboardButtonPollType])

    • web_app (Optional[alicebot.adapter.telegram.model.WebAppInfo])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReplyKeyboardMarkup

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • keyboard (list[list[alicebot.adapter.telegram.model.KeyboardButton]])

    • is_persistent (Optional[bool])

    • resize_keyboard (Optional[bool])

    • one_time_keyboard (Optional[bool])

    • input_field_placeholder (Optional[str])

    • selective (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ReplyKeyboardRemove

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • remove_keyboard (bool)

    • selective (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ForceReply

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • force_reply (bool)

    • input_field_placeholder (Optional[str])

    • selective (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ForumTopic

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • message_thread_id (int)

    • name (str)

    • icon_color (int)

    • icon_custom_emoji_id (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommand

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • command (str)

    • description (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeDefault

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeAllPrivateChats

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeAllGroupChats

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeAllChatAdministrators

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeChat

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • chat_id (Union[int, str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeChatAdministrators

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • chat_id (Union[int, str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotCommandScopeChatMember

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • chat_id (Union[int, str])

    • user_id (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotName

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • name (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotDescription

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • description (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class BotShortDescription

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • short_description (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • text (str)

    • web_app (WebAppInfo)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class UserChatBoosts

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • boosts (list[alicebot.adapter.telegram.model.ChatBoost])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ResponseParameters

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • migrate_to_chat_id (Optional[int])

    • retry_after (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputMediaAnimation

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • thumbnail (Union[bytes, tuple[str, bytes], str, NoneType])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • width (Optional[int])

    • height (Optional[int])

    • duration (Optional[int])

    • has_spoiler (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputMediaDocument

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • thumbnail (Union[bytes, tuple[str, bytes], str, NoneType])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • disable_content_type_detection (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputMediaAudio

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • thumbnail (Union[bytes, tuple[str, bytes], str, NoneType])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • duration (Optional[int])

    • performer (Optional[str])

    • title (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputMediaPhoto

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • has_spoiler (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputMediaVideo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • thumbnail (Union[bytes, tuple[str, bytes], str, NoneType])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • width (Optional[int])

    • height (Optional[int])

    • duration (Optional[int])

    • supports_streaming (Optional[bool])

    • has_spoiler (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputPaidMediaPhoto

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputPaidMediaVideo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • media (str)

    • thumbnail (Union[bytes, tuple[str, bytes], str, NoneType])

    • width (Optional[int])

    • height (Optional[int])

    • duration (Optional[int])

    • supports_streaming (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class StickerSet

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • name (str)

    • title (str)

    • sticker_type (str)

    • stickers (list[alicebot.adapter.telegram.model.Sticker])

    • thumbnail (Optional[alicebot.adapter.telegram.model.PhotoSize])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputSticker

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • sticker (Union[bytes, tuple[str, bytes], str])

    • format (str)

    • emoji_list (list[str])

    • mask_position (Optional[alicebot.adapter.telegram.model.MaskPosition])

    • keywords (Optional[list[str]])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultsButton

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • text (str)

    • web_app (Optional[alicebot.adapter.telegram.model.WebAppInfo])

    • start_parameter (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputTextMessageContent

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • message_text (str)

    • parse_mode (Optional[str])

    • entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • link_preview_options (Optional[alicebot.adapter.telegram.model.LinkPreviewOptions])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputLocationMessageContent

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • latitude (float)

    • longitude (float)

    • horizontal_accuracy (Optional[float])

    • live_period (Optional[int])

    • heading (Optional[int])

    • proximity_alert_radius (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputVenueMessageContent

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • latitude (float)

    • longitude (float)

    • title (str)

    • address (str)

    • foursquare_id (Optional[str])

    • foursquare_type (Optional[str])

    • google_place_id (Optional[str])

    • google_place_type (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputContactMessageContent

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • phone_number (str)

    • first_name (str)

    • last_name (Optional[str])

    • vcard (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class LabeledPrice

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • label (str)

    • amount (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InputInvoiceMessageContent

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • title (str)

    • description (str)

    • payload (str)

    • provider_token (Optional[str])

    • currency (str)

    • prices (list[alicebot.adapter.telegram.model.LabeledPrice])

    • max_tip_amount (Optional[int])

    • suggested_tip_amounts (Optional[list[int]])

    • provider_data (Optional[str])

    • photo_url (Optional[str])

    • photo_size (Optional[int])

    • photo_width (Optional[int])

    • photo_height (Optional[int])

    • need_name (Optional[bool])

    • need_phone_number (Optional[bool])

    • need_email (Optional[bool])

    • need_shipping_address (Optional[bool])

    • send_phone_number_to_provider (Optional[bool])

    • send_email_to_provider (Optional[bool])

    • is_flexible (Optional[bool])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedAudio

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • audio_file_id (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedDocument

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • title (str)

    • document_file_id (str)

    • description (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedGif

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • gif_file_id (str)

    • title (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedMpeg4Gif

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • mpeg4_file_id (str)

    • title (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedPhoto

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • photo_file_id (str)

    • title (Optional[str])

    • description (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedSticker

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • sticker_file_id (str)

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedVideo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • video_file_id (str)

    • title (str)

    • description (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultCachedVoice

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • voice_file_id (str)

    • title (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultArticle

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • title (str)

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • url (Optional[str])

    • hide_url (Optional[bool])

    • description (Optional[str])

    • thumbnail_url (Optional[str])

    • thumbnail_width (Optional[int])

    • thumbnail_height (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultAudio

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • audio_url (str)

    • title (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • performer (Optional[str])

    • audio_duration (Optional[int])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultContact

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • phone_number (str)

    • first_name (str)

    • last_name (Optional[str])

    • vcard (Optional[str])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • thumbnail_url (Optional[str])

    • thumbnail_width (Optional[int])

    • thumbnail_height (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultGame

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • game_short_name (str)

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultDocument

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • title (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • document_url (str)

    • mime_type (str)

    • description (Optional[str])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • thumbnail_url (Optional[str])

    • thumbnail_width (Optional[int])

    • thumbnail_height (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultGif

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • gif_url (str)

    • gif_width (Optional[int])

    • gif_height (Optional[int])

    • gif_duration (Optional[int])

    • thumbnail_url (str)

    • thumbnail_mime_type (Optional[str])

    • title (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultLocation

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • latitude (float)

    • longitude (float)

    • title (str)

    • horizontal_accuracy (Optional[float])

    • live_period (Optional[int])

    • heading (Optional[int])

    • proximity_alert_radius (Optional[int])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • thumbnail_url (Optional[str])

    • thumbnail_width (Optional[int])

    • thumbnail_height (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultMpeg4Gif

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • mpeg4_url (str)

    • mpeg4_width (Optional[int])

    • mpeg4_height (Optional[int])

    • mpeg4_duration (Optional[int])

    • thumbnail_url (str)

    • thumbnail_mime_type (Optional[str])

    • title (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultPhoto

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • photo_url (str)

    • thumbnail_url (str)

    • photo_width (Optional[int])

    • photo_height (Optional[int])

    • title (Optional[str])

    • description (Optional[str])

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultVenue

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • latitude (float)

    • longitude (float)

    • title (str)

    • address (str)

    • foursquare_id (Optional[str])

    • foursquare_type (Optional[str])

    • google_place_id (Optional[str])

    • google_place_type (Optional[str])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • thumbnail_url (Optional[str])

    • thumbnail_width (Optional[int])

    • thumbnail_height (Optional[int])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultVideo

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • video_url (str)

    • mime_type (str)

    • thumbnail_url (str)

    • title (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • show_caption_above_media (Optional[bool])

    • video_width (Optional[int])

    • video_height (Optional[int])

    • video_duration (Optional[int])

    • description (Optional[str])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class InlineQueryResultVoice

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • id (str)

    • voice_url (str)

    • title (str)

    • caption (Optional[str])

    • parse_mode (Optional[str])

    • caption_entities (Optional[list[alicebot.adapter.telegram.model.MessageEntity]])

    • voice_duration (Optional[int])

    • reply_markup (Optional[alicebot.adapter.telegram.model.InlineKeyboardMarkup])

    • input_message_content (Union[alicebot.adapter.telegram.model.InputTextMessageContent, alicebot.adapter.telegram.model.InputLocationMessageContent, alicebot.adapter.telegram.model.InputVenueMessageContent, alicebot.adapter.telegram.model.InputContactMessageContent, alicebot.adapter.telegram.model.InputInvoiceMessageContent, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class SentWebAppMessage

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • inline_message_id (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class ShippingOption

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • title (str)

    • prices (list[alicebot.adapter.telegram.model.LabeledPrice])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class RevenueWithdrawalStatePending

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class RevenueWithdrawalStateSucceeded

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • date (int)

    • url (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class RevenueWithdrawalStateFailed

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class TransactionPartnerUser

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • user (User)

    • invoice_payload (Optional[str])

    • paid_media (Optional[list[Union[alicebot.adapter.telegram.model.PaidMediaPreview, alicebot.adapter.telegram.model.PaidMediaPhoto, alicebot.adapter.telegram.model.PaidMediaVideo]]])

    • paid_media_payload (Optional[str])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class TransactionPartnerFragment

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • withdrawal_state (Union[alicebot.adapter.telegram.model.RevenueWithdrawalStatePending, alicebot.adapter.telegram.model.RevenueWithdrawalStateSucceeded, alicebot.adapter.telegram.model.RevenueWithdrawalStateFailed, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class TransactionPartnerTelegramAds

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class TransactionPartnerOther

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • type (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class StarTransaction

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • id (str)

    • amount (int)

    • date (int)

    • source (Union[alicebot.adapter.telegram.model.TransactionPartnerUser, alicebot.adapter.telegram.model.TransactionPartnerFragment, alicebot.adapter.telegram.model.TransactionPartnerTelegramAds, alicebot.adapter.telegram.model.TransactionPartnerOther, NoneType])

    • receiver (Union[alicebot.adapter.telegram.model.TransactionPartnerUser, alicebot.adapter.telegram.model.TransactionPartnerFragment, alicebot.adapter.telegram.model.TransactionPartnerTelegramAds, alicebot.adapter.telegram.model.TransactionPartnerOther, NoneType])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class StarTransactions

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • transactions (list[alicebot.adapter.telegram.model.StarTransaction])

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorDataField

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • field_name (str)

    • data_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorFrontSide

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorReverseSide

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorSelfie

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorFile

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorFiles

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hashes (list[str])

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorTranslationFile

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorTranslationFiles

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • file_hashes (list[str])

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class PassportElementErrorUnspecified

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • source (str)

    • type (str)

    • element_hash (str)

    • message (str)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

class GameHighScore

Bases: pydantic.main.BaseModel

Usage docs: https://docs.pydantic.dev/2.9/concepts/models/

A base class for creating Pydantic models.

  • Attributes

    • position (int)

    • user (User)

    • score (int)

    • __class_vars__ - The names of the class variables defined on the model.

    • __private_attributes__ - Metadata about the private attributes of the model.

    • __signature__ - The synthesized __init__ [Signature][inspect.Signature] of the model.

    • __pydantic_complete__ - Whether model building is completed, or if there are still undefined fields.

    • __pydantic_core_schema__ - The core schema of the model.

    • __pydantic_custom_init__ - Whether the model has a custom __init__ function.

    • __pydantic_decorators__ - Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

    • __pydantic_generic_metadata__ - Metadata for generic models; contains data used for a similar purpose to args, origin, parameters in typing-module generics. May eventually be replaced by these.

    • __pydantic_parent_namespace__ - Parent namespace of the model, used for automatic rebuilding of models.

    • __pydantic_post_init__ - The name of the post-init method for the model, if defined.

    • __pydantic_root_model__ - Whether the model is a [RootModel][pydantic.root_model.RootModel].

    • __pydantic_serializer__ - The pydantic-core SchemaSerializer used to dump instances of the model.

    • __pydantic_validator__ - The pydantic-core SchemaValidator used to validate instances of the model.

    • __pydantic_extra__ - A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to 'allow'.

    • __pydantic_fields_set__ - The names of fields explicitly set during instantiation.

    • __pydantic_private__ - Values of private attributes set on the model instance.

Released under the MIT License.