diff options
Diffstat (limited to 'protocols/FacebookRM/src/constants.h')
-rw-r--r-- | protocols/FacebookRM/src/constants.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 1e2c9fc1a6..d2fd847e69 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -100,6 +100,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define SEND_MESSAGE_ERROR 1
#define SEND_MESSAGE_CANCEL -1
+// Event types
+#define FACEBOOK_EVENTTYPE_CALL 10010
+
// Facebook request types // TODO: Provide MS_ and release in FB plugin API?
enum RequestType {
REQUEST_LOGIN, // connecting physically
@@ -164,6 +167,11 @@ enum ClientType { CLIENT_MOBILE = 5 // Facebook on unknown mobile client (can't be determined for offline contacts)
};
+enum MessageType {
+ MESSAGE = 1, // Classic message
+ CALL = 2, // Video call
+};
+
typedef struct {
const char *name;
const char *id;
|