mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 12:22:21 -06:00
feat: function for openai assistant added
This commit is contained in:
@@ -3345,6 +3345,11 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
try {
|
||||
const group = await this.client.groupMetadata(id.groupJid);
|
||||
|
||||
if (!group) {
|
||||
this.logger.error('Group not found');
|
||||
return null;
|
||||
}
|
||||
|
||||
const picture = await this.profilePicture(group.id);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user