Share via


MessageActionsPayloadMention Class

Represents the entity that was mentioned in the message.

Constructor

pydantic model MessageActionsPayloadMention

Parameters

Name Description
id
Required

The id of the mentioned entity.

mention_text
Required

The plaintext display name of the mentioned entity.

mentioned
Required
Optional[<xref:"MessageActionsPayloadFrom">]

Provides more details on the mentioned entity.

Keyword-Only Parameters

Name Description
id
Required
mentionText
Required
mentioned
Required

Attributes

id

field id: int | None [Required]

mention_text

field mention_text: str | None [Required] (alias 'mentionText')

mentioned

field mentioned: MessageActionsPayloadFrom | None [Required]