~thrrgilag/woodstock

cde919e400d3dd3d68dc79631b48709ce7d09c3d — Morgan McMillian 2 years ago 721875d
Add is_deleted and reply_to to Message type

issue #10
2 files changed, 8 insertions(+), 1 deletions(-)

M CHANGELOG.md
M objects.go
M CHANGELOG.md => CHANGELOG.md +5 -0
@@ 4,6 4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).  

## [Unreleased]
### Added
- Message object now includes is_deleted and reply_to

### Fixed
- Updated endpoint for user and post interactions

## [0.1.1] - 2019-01-19 
### Added

M objects.go => objects.go +3 -1
@@ 170,13 170,15 @@ type ContentOfMessage struct {
	Entities Entities `json:"entities"`
}

// Message object defiition
// Message object definition
type Message struct {
	ID           string           `json:"id"`
	ChannelID    string           `json:"channel_id"`
	CreatedAt    string           `json:"created_at"`
	Source       Source           `json:"source"`
	IsDeleted    bool             `json:"is_deleted"`
	IsSticky     bool             `json:"is_sticky"`
	ReplyTo      string           `json:"reply_to"`
	ThreadID     string           `json:"thread_id"`
	User         User             `json:"user"`
	Counts       CountsOfMessage  `json:"counts"`