تحديث بيانات المجموعة (V2)

يتم تفعيله عند تغيير إعدادات المجموعة مثل الاسم، الوصف، أو أيقونة المجموعة.

توصيات

  • Update the 'subject' or 'description' in your database.

  • Detect if the group icon changed to refresh your UI cache.

الردود المتوقعة

استكشف كافة الردود والنتائج المحتملة من الخادم. قمنا بتوثيق كل كود حالة (Status Code) مع أمثلة للبيانات لتسهيل معالجة الأخطاء والنجاح.

Webhook Payload Example
application/json
string *
number *
string *
object *
string *
string *
object *
object *

Example

{
"id": "evt_01...",
"timestamp": 1634567890123,
"session": "default",
"metadata": {
  "user.id": "123",
  "user.email": "email@example.com"
  },
"engine": "WEBJS",
"event": "group.v2.update",
"payload": {
  "chatId": "1234567890@g.us",
  "subject": "New Group Name",
  "description": "Updated description text"
  },
"me": {
  "id": "11111111111@c.us",
  "lid": "123@lid",
  "pushName": "Instance"
  }
}

Command Palette

Search for a command to run...