From 07f9f640f0f18541760adb8746cd563a504d6609 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 4 Oct 2020 21:20:22 +0200 Subject: Looks like 2FA works in facebook messenger :o --- connector/connector.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'connector/connector.go') diff --git a/connector/connector.go b/connector/connector.go index 55e0e34..0819bd7 100644 --- a/connector/connector.go +++ b/connector/connector.go @@ -71,6 +71,10 @@ type Connector interface { // in which case the backend is free to re-use the ID or select a new one. Send(event *Event) (string, error) + // Used to send user commands directly + // (first use case: receive 2-factor authentication codes) + UserCommand(string) + // Close the connection Close() } -- cgit v1.2.3