new(core.gbapp): New API endpoint.
This commit is contained in:
parent
63cbf7e733
commit
df41f1c55b
2 changed files with 2 additions and 4 deletions
|
@ -1259,6 +1259,7 @@ export class DialogKeywords {
|
|||
await client.apis.Conversations.Conversations_PostActivity({
|
||||
conversationId: conversation.conversationId,
|
||||
activity: {
|
||||
pid: pid,
|
||||
textFormat: 'plain',
|
||||
text: text,
|
||||
type: 'message',
|
||||
|
@ -1272,11 +1273,8 @@ export class DialogKeywords {
|
|||
|
||||
let messages = [];
|
||||
|
||||
|
||||
GBLog.info(`MessageBot: Starting message polling ${conversation.conversationId}).`);
|
||||
|
||||
|
||||
|
||||
const worker = async () => {
|
||||
try {
|
||||
|
||||
|
|
|
@ -1419,7 +1419,7 @@ export class GBMinService {
|
|||
await sec.setParam(userId, 'welcomed', 'true');
|
||||
min['conversationWelcomed'][step.context.activity.conversation.id] = true;
|
||||
GBLog.info(
|
||||
`Auto start (whatsapp) dialog is now being called: ${startDialog} for ${min.instance.instanceId}...`
|
||||
`Auto start (4) dialog is now being called: ${startDialog} for ${min.instance.instanceId}...`
|
||||
);
|
||||
await GBVMService.callVM(startDialog.toLowerCase(), min, step, pid);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue