flip_social_messages.h 1000 B

1234567891011121314151617181920212223242526
  1. #ifndef FLIP_SOCIAL_MESSAGES_H
  2. #define FLIP_SOCIAL_MESSAGES_H
  3. #include "flip_social.h"
  4. #include <callback/callback.h>
  5. #include <explore/flip_social_explore.h>
  6. FlipSocialModel2 *flip_social_messages_alloc();
  7. FlipSocialMessage *flip_social_user_messages_alloc();
  8. bool flip_social_update_messages_submenu();
  9. bool flip_social_update_submenu_user_choices();
  10. // Get all the users that have sent messages to the logged in user
  11. bool flip_social_get_message_users(FlipperHTTP *fhttp);
  12. // Get all the messages between the logged in user and the selected user
  13. bool flip_social_get_messages_with_user(FlipperHTTP *fhttp);
  14. // Parse the users that have sent messages to the logged-in user
  15. bool flip_social_parse_json_message_users(FlipperHTTP *fhttp);
  16. // Parse the users that the logged in user can message
  17. bool flip_social_parse_json_message_user_choices(FlipperHTTP *fhttp);
  18. // parse messages between the logged in user and the selected user
  19. bool flip_social_parse_json_messages(FlipperHTTP *fhttp);
  20. #endif