I make a One Application like Chat GPT and In these App the Database is a Custom Connector and In this Connection is Established Using API Key .Now I want to Make Application UI as Teams App Chatting Format . In this Application there are One Screen In these there are Mainly 5 Controls One Flex Gallery, One Text Input, One Icon, and In the Gallery I Inserted a Two Label .
Now Icon Onselect Property is This :-
Set(varResponse,ChatGPTConnector.ChatAPI("gpt-3.5-turbo",Collect(colChat,{role : "user", content : TextInput1.Text})));
Collect(colChat,First(varResponse.choices).message);
Reset(TextInput1) and Two Text Label have Text Property One have :- This Item.Role and other is This Item.content .Now I have Make this App UI as a Teams . I attached a Screenshot of Name Demo That I want and Other Screenshot with name What I HAve so Please Give me Proper Response