mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
parent
daf085ff9e
commit
100848b889
3 changed files with 23 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ class FakeTelegram(aresponses.ResponsesMockServer):
|
|||
|
||||
@staticmethod
|
||||
def parse_data(message_data):
|
||||
import json
|
||||
from aiogram.utils import json
|
||||
from aiogram.utils.payload import _normalize
|
||||
|
||||
_body = '{"ok":true,"result":' + json.dumps(_normalize(message_data)) + '}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue