AndroidPerson
Participant identity used by an Android messaging-style notification.
Use a consistent key or uri to identify the same person across
notifications, even when their display name changes.
Properties
bot- Whether the participant represents a bot rather than a human.icon- Optional participant avatar, supporting anyAndroidIconsource.important- Whether Android should treat this as an important participant.key- Stable identifier distinguishing this person from others.name- Nonempty display name of the participant.uri- URI identifying the participant, such as"mailto:alex@example.com".
Properties
botclass-attributeinstance-attribute
bot: bool = FalseWhether the participant represents a bot rather than a human.
iconclass-attributeinstance-attribute
icon: AndroidIcon | None = NoneOptional participant avatar, supporting any
AndroidIcon source.
importantclass-attributeinstance-attribute
important: bool = FalseWhether Android should treat this as an important participant.
keyclass-attributeinstance-attribute
key: str | None = NoneStable identifier distinguishing this person from others.
uriclass-attributeinstance-attribute
uri: str | None = NoneURI identifying the participant, such as "mailto:alex@example.com".
A matching contact URI can help Android associate notifications with contacts.