Callback Selection#
- class pywa.types.CallbackSelection#
Represents a callback selection.
- Variables:
id (str) – The ID of the message.
metadata (pywa.types.others.Metadata) – The metadata of the message (to which phone number it was sent).
type (pywa.types.others.MessageType) – The message type (always
INTERACTIVE).from_user (pywa.types.others.User) – The user who sent the message.
timestamp (datetime.datetime) – The timestamp when the message was sent.
reply_to_message (pywa.types.others.ReplyToMessage) – The message to which this callback selection is a reply to.
data (pywa.types.callback.CallbackDataT) – The data of the selection (the
callback_dataparameter inSectionRow).title (str) – The title of the selection.
description (str | None) – The description of the selection (optional).