Imgur::API::Model::Conversation
The base model for a conversation.
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
{ "success" : true, "status" : 200, "data" : [ { "datetime" : 1406927327, "id" : 188129, "message_count" : 3, "with_account_id" : 3698510, "with_account" : "jasdev", "last_message_preview" : "hi" } ] }
http://api.imgur.com/models/conversation
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Imgur::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imgur::API
CPAN shell
perl -MCPAN -e shell install Imgur::API
For more information on module installation, please visit the detailed CPAN module installation guide.