Commit 73ca2721 authored by Lukas Matt's avatar Lukas Matt

Add reshare support

parent 6919d70f
......@@ -107,6 +107,7 @@ type EntityPost struct {
Request *EntityRequest `xml:"request,omitempty"`
Retraction *EntityRetraction `xml:"retraction,omitempty"`
Profile *EntityProfile `xml:"profile,omitempty"`
Reshare *EntityStatusMessage `xml:"reshare,omitempty"`
StatusMessage *EntityStatusMessage `xml:"status_message,omitempty"`
Comment *EntityComment `xml:"comment,omitempty"`
Like *EntityLike `xml:"like,omitempty"`
......
......@@ -24,11 +24,14 @@ type EntityStatusMessage struct {
Guid string `xml:"guid"`
CreatedAt time.Time `xml:"created_at"`
ProviderName string `xml:"provider_display_name"`
RawMessage string `xml:"raw_message"`
RawMessage string `xml:"raw_message,omitempty"`
Photo *EntityPhotos `xml:"photo,omitempty"`
Location *EntityLocation `xml:"location,omitempty"`
Poll *EntityPoll `xml:"poll,omitempty"`
Public bool `xml:"public"`
// on reshare
RootHandle string `xml:"root_diaspora_id,omitempty"`
RootGuid string `xml:"root_guid,omitempty"`
}
type EntityPhoto struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment