-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete sticker listener, update session schema
- Loading branch information
Aleksei Roznov
authored and
Aleksei Roznov
committed
Oct 8, 2024
1 parent
55c45c3
commit 8771589
Showing
5 changed files
with
162 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
{ | ||
"update_id": 396065464, | ||
"my_chat_member": { | ||
"chat": { | ||
"id": -892251879, | ||
"title": "Дикари", | ||
"type": "group", | ||
"all_members_are_administrators": true | ||
}, | ||
"from": { | ||
"id": 268482275, | ||
"is_bot": false, | ||
"first_name": "uncle Lyozha", | ||
"username": "Lyozha", | ||
"language_code": "en" | ||
}, | ||
"date": 1719910633, | ||
"old_chat_member": { | ||
"user": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"status": "left" | ||
}, | ||
"new_chat_member": { | ||
"user": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"status": "member" | ||
} | ||
} | ||
}, | ||
{ | ||
"update_id": 396065465, | ||
"message": { | ||
"message_id": 2487, | ||
"from": { | ||
"id": 268482275, | ||
"is_bot": false, | ||
"first_name": "uncle Lyozha", | ||
"username": "Lyozha", | ||
"language_code": "en" | ||
}, | ||
"chat": { | ||
"id": -892251879, | ||
"title": "Дикари", | ||
"type": "group", | ||
"all_members_are_administrators": true | ||
}, | ||
"date": 1719910633, | ||
"new_chat_participant": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"new_chat_member": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"new_chat_members": [ | ||
{ | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
} | ||
] | ||
} | ||
} | ||
User with 7035486003 not found in DB. | ||
New user created: | ||
{ | ||
userName: 'testLyozhaBot', | ||
tgId: 7035486003, | ||
_id: new ObjectId('6683c0e9362e888122b1eb59'), | ||
__v: 0 | ||
} | ||
{ | ||
"update_id": 396065466, | ||
"my_chat_member": { | ||
"chat": { | ||
"id": -892251879, | ||
"title": "Дикари", | ||
"type": "group", | ||
"all_members_are_administrators": true | ||
}, | ||
"from": { | ||
"id": 268482275, | ||
"is_bot": false, | ||
"first_name": "uncle Lyozha", | ||
"username": "Lyozha", | ||
"language_code": "en" | ||
}, | ||
"date": 1719910650, | ||
"old_chat_member": { | ||
"user": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"status": "member" | ||
}, | ||
"new_chat_member": { | ||
"user": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"status": "left" | ||
} | ||
} | ||
} | ||
{ | ||
"update_id": 396065467, | ||
"message": { | ||
"message_id": 2489, | ||
"from": { | ||
"id": 268482275, | ||
"is_bot": false, | ||
"first_name": "uncle Lyozha", | ||
"username": "Lyozha", | ||
"language_code": "en" | ||
}, | ||
"chat": { | ||
"id": -892251879, | ||
"title": "Дикари", | ||
"type": "group", | ||
"all_members_are_administrators": true | ||
}, | ||
"date": 1719910650, | ||
"left_chat_participant": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
}, | ||
"left_chat_member": { | ||
"id": 7035486003, | ||
"is_bot": true, | ||
"first_name": "test_lyozha_bot", | ||
"username": "testLyozhaBot" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters