Skip to content

Contacts

UpdateContact pydantic-model

Bases: BaseModel

The fields to change on a contact, passed to bot.contacts.update.

Fields:

expiration_in_seconds pydantic-field

expiration_in_seconds: int | None = None

The new disappearing message timer in seconds. None leaves it unchanged, 0 disables it.

name pydantic-field

name: str | None = None

The new name of the contact.

UpdateContactError

Bases: SignalAPIError

Raised when the API rejects a contact metadata update.