fix(basic.gbapp): AS IMAGE testing.
This commit is contained in:
parent
c16b9acbab
commit
50a2dcbffc
1 changed files with 2 additions and 1 deletions
|
@ -495,8 +495,9 @@ export class DialogKeywords {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public async sendFileTo({ pid, mobile, filename, caption }) {
|
public async sendFileTo({ pid, mobile, filename, caption }) {
|
||||||
|
const { min, user, proc } = await DialogKeywords.getProcessInfo(pid);
|
||||||
GBLog.info(`BASIC: SEND FILE TO '${mobile}',filename '${filename}'.`);
|
GBLog.info(`BASIC: SEND FILE TO '${mobile}',filename '${filename}'.`);
|
||||||
return await this.internalSendFile({ pid, mobile, channel: null, filename, caption });
|
return await this.internalSendFile({ pid, mobile, channel: proc.channel, filename, caption });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue