send code
This commit is contained in:
@@ -31,6 +31,9 @@ class Command(MessagingSupport):
|
||||
parse_mode="html",
|
||||
)
|
||||
|
||||
def handle_send_code(self, payload):
|
||||
yield "telegram", payload
|
||||
|
||||
def handle_solution(self, payload):
|
||||
solution = Solution.objects.get(id=payload["solution_id"])
|
||||
user = solution.user
|
||||
|
Reference in New Issue
Block a user