Callback Button#
- class pywa.types.CallbackButton#
Represents a callback button.
- 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 button is a reply to.
data (pywa.types.callback.CallbackDataT) – The data of the button (the
callback_dataparameter inButton).title (str) – The title of the button.