add missing `Optional` type
@@ -28,7 +28,7 @@ class CollectingDispatcher:
self,
text: Optional[Text] = None,
image: Optional[Text] = None,
- json_message: Dict[Text, Any] = None,
+ json_message: Optional[Dict[Text, Any]] = None,
template: Optional[Text] = None,
attachment: Optional[Text] = None,
buttons: Optional[List[Dict[Text, Any]]] = None,
