CopyTextButton

class aiogram.types.copy_text_button.CopyTextButton(*, text: str, **extra_data: Any)[source]

This object represents an inline keyboard button that copies specified text to the clipboard.

Source: https://core.telegram.org/bots/api#copytextbutton

text: str

The text to be copied to the clipboard; 1-256 characters

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.