Michael Hollenbeck
and 1 contributors

NAME

Imgur::API::Model::Conversation

DESCRIPTION

    The base model for a conversation.

FIELDS

id integer

    Conversation ID

last_message_preview string

    Preview of the last message

datetime integer

    Time of last sent message, epoch time

with_account_id integer

    Account ID of the other user in conversation

with_account string

    Account username of the other user in conversation

message_count integer

    Total number of messages in the conversation

messages Array of Messages

    OPTIONAL: (only available when requesting a specific conversation) Reverse sorted such that most recent message is at the end of the array.

done boolean

    OPTIONAL: (only available when requesting a specific conversation) Flag to indicate whether you've reached the beginning of the thread.

page integer

    OPTIONAL: (only available when requesting a specific conversation) Number of the next page

EXAMPLE

 {
   "success" : true,
   "status" : 200,
   "data" : [
      {
         "datetime" : 1406927327,
         "id" : 188129,
         "message_count" : 3,
         "with_account_id" : 3698510,
         "with_account" : "jasdev",
         "last_message_preview" : "hi"
      }
   ]
}

SEE ALSO

http://api.imgur.com/models/conversation

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 17:

'=item' outside of any '=over'

Around line 108:

You forgot a '=back' before '=head1'