0% found this document useful (0 votes)
15 views3 pages

Gozar Bot (MongoDB)

The document defines a data structure for managing users and reports related to issues. It includes user attributes such as chat ID, name, and status, as well as report attributes like URL, message IDs, and state. Additionally, it outlines enumerations for user statuses and report states.

Uploaded by

mr2chethan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

Gozar Bot (MongoDB)

The document defines a data structure for managing users and reports related to issues. It includes user attributes such as chat ID, name, and status, as well as report attributes like URL, message IDs, and state. Additionally, it outlines enumerations for user statuses and report states.

Uploaded by

mr2chethan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Users

0..1
chatid int

idname string

status user_status

Report
Issues
url string
* context object
chatid int
*
chatid int
user_messageid int
user_messageid int
admin_message int
admin_message int
state report_state
answered boolean
resolved boolean
Users
0..1
chatid int

idname string

status user_status

Report
Issues
url string
* context object
chatid int
*
chatid int
user_messageid int
user_messageid int
admin_message int
admin_message int
state report_state
answered boolean
resolved boolean
Enum user_status {
issuing
reporting
done
admin
admin_broadcasting
banned
}

Enum report_state {
filtered
nonfilter
invalid
}

You might also like