messages.h 795 B

123456789101112131415161718192021
  1. #ifndef FLIP_SOCIAL_MESSAGES_H
  2. #define FLIP_SOCIAL_MESSAGES_H
  3. #include "flip_social.h"
  4. bool messages_submenu_update();
  5. bool messages_update_submenu_user_choices();
  6. // Get all the users that have sent messages to the logged in user
  7. bool messages_get_message_users(FlipperHTTP *fhttp);
  8. // Get all the messages between the logged in user and the selected user
  9. bool messages_get_messages_with_user(FlipperHTTP *fhttp);
  10. // Parse the users that have sent messages to the logged-in user
  11. bool messages_parse_json_message_users(FlipperHTTP *fhttp);
  12. // Parse the users that the logged in user can message
  13. bool messages_parse_json_message_user_choices(FlipperHTTP *fhttp);
  14. // parse messages between the logged in user and the selected user
  15. bool messages_parse_json_messages(FlipperHTTP *fhttp);
  16. #endif