Skip to content

Lex Runtime V2  >  Structures  >  DTMFInputEvent

DTMFInputEvent

Structure Class

DTMFInputEvent dataclass

A DTMF character sent from the client application. DTMF characters are typically sent from a phone keypad to represent numbers. For example, you can have Amazon Lex V2 process a credit card number input from a phone.

Attributes

client_timestamp_millis class-attribute instance-attribute
client_timestamp_millis: int = 0

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

event_id class-attribute instance-attribute
event_id: str | None = None

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

input_character class-attribute instance-attribute
input_character: str = field(repr=False)

The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.