Skip to content

Don't get unread property in the message object. #2

Closed

Description

@mechanicles
[1] pry(#<#<Class:0x007f8b0a803aa8>>)> message
=> #<Inbox::Message:0x007f8b0ab38f48
 @_api=
  #<Inbox::API:0x007f8b0230f518
   @access_token="********************************",
   @api_server="https://api.inboxapp.com",
   @app_id="*********************************",
   @app_secret="*******************************",
   @namespaces=
    #<Inbox::RestfulModelCollection:0x007f8b057e7e48
     @_api=#<Inbox::API:0x007f8b0230f518 ...>,
     @filters={},
     @model_class=Inbox::Namespace,
     @namespace_id=nil>>,
 @bcc=[],
 @body="Here's another message to make it seven messages.",
 @cc=[],
 @date=1415281247,
 @file_ids=[],
 @from=[{"email"=>"john.smith.********@gmail.com", "name"=>"John Smith"}],
 @id="aeautl8rfgf5b9nsnh9zlihyf",
 @namespace_id="1vp9hlbbf19jm550emi82dd7d",
 @snippet="Here's another message to make it seven messages.",
 @subject="send 6 emails back and forth -same title",
 @thread_id="j9dcrlkmpy5y04ndjbmyqbw",
 @to=[{"email"=>"beth.boring.*********@gmail.com", "name"=>"Beth Boring"}]>

But if you see in the documentation https://www.inboxapp.com/docs/api#retrieving-a-message they provide unread status in the response.

Activity

  1. emfree commented on Nov 6, 2014

    @emfree
    Contributor

    This was fixed in commit dfa4942 -- are you sure you're using the latest version (0.8.1)?

  2. mechanicles commented on Nov 6, 2014

    @mechanicles
    Author

    @emfree thanks for the quick reply :) Yes I have old version 0.8.10. Now will try with new one.

  3. mechanicles commented on Nov 7, 2014

    @mechanicles
    Author

    @emfree Updating gem, now I'm getting unread property in the message object. Thanks :)

  4. added a commit that references this issue on Jul 13, 2023
  5. added a commit that references this issue on Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions