mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
Best commit IT
This commit is contained in:
parent
2c11a0dcb0
commit
998360d593
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ from sqlalchemy.orm import sessionmaker
|
||||||
from sqlalchemy.ext.declarative import declarative_base
|
from sqlalchemy.ext.declarative import declarative_base
|
||||||
import bcrypt
|
import bcrypt
|
||||||
|
|
||||||
|
|
||||||
class NoUsersMatchingError(Exception):
|
class NoUsersMatchingError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
@ -346,6 +346,7 @@ class Message:
|
||||||
"""Reply to this message."""
|
"""Reply to this message."""
|
||||||
await self.chat.send_message(bot, text, reply_to_message_id=self.msg_id, **params)
|
await self.chat.send_message(bot, text, reply_to_message_id=self.msg_id, **params)
|
||||||
|
|
||||||
|
|
||||||
class ServiceMessage:
|
class ServiceMessage:
|
||||||
def __init__(self, msg_type, extra=None):
|
def __init__(self, msg_type, extra=None):
|
||||||
self.type = msg_type
|
self.type = msg_type
|
||||||
|
|
Loading…
Reference in a new issue