File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,16 @@ if (message is ContentMessage content)
8989 await client .ReactAsync (message , " 🧠" );
9090 // simulate some hard work at hand, like doing some LLM-stuff :)
9191 await Task .Delay (2000 );
92- await client .ReplyAsync (message , $" ☑️ Got your {content .Content .Type }" );
92+ var json = JsonSerializer .Serialize (content , options );
93+ await client .ReplyAsync (message , $" ☑️ Got your {content .Content .Type }:\r\n {json }" );
9394}
9495```
9596
97+ The above code would render as follows in WhatsApp:
98+
99+ ![ ] ( https://raw.githubusercontent.com/devlooped/WhatsApp/main/assets/img/whatsapp.png )
100+
101+
96102## Configuration
97103
98104You need to register an app in the Meta [ App Dashboard] (https://developers.facebook.com/apps/ ] .
You can’t perform that action at this time.
0 commit comments