Made InputDTMFFrame a DataFrame and moved up to data frames
This commit is contained in:
@@ -393,6 +393,13 @@ class TransportMessageFrame(DataFrame):
|
||||
return f"{self.name}(message: {self.message})"
|
||||
|
||||
|
||||
@dataclass
|
||||
class InputDTMFFrame(DataFrame):
|
||||
"""A DTMF button input"""
|
||||
|
||||
button: KeypadEntry
|
||||
|
||||
|
||||
#
|
||||
# System frames
|
||||
#
|
||||
@@ -633,13 +640,6 @@ class VisionImageRawFrame(InputImageRawFrame):
|
||||
return f"{self.name}(pts: {pts}, text: [{self.text}], size: {self.size}, format: {self.format})"
|
||||
|
||||
|
||||
@dataclass
|
||||
class InputDTMFFrame(Frame):
|
||||
"""A DTMF button input"""
|
||||
|
||||
button: KeypadEntry
|
||||
|
||||
|
||||
#
|
||||
# Control frames
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user