messageroomitem

package
v0.0.0-...-f1f5635 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SK            = "M"
	GSI1SK_PREFIX = "M#"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageRoomItem

type MessageRoomItem struct {
	PK         string                      `dynamodbav:"pk"`
	SK         string                      `dynamodbav:"sk"`
	GSI1PK     string                      `dynamodbav:"gsi1pk"`
	GSI1SK     string                      `dynamodbav:"gsi1sk"`
	Message    string                      `dynamodbav:"message"`
	EntityType item.EntityType             `dynamodbav:"entityType"`
	CreatedOn  string                      `dynamodbav:"createdOn"`
	CreatedBy  string                      `dynamodbav:"createdBy"`
	ModifiedOn string                      `dynamodbav:"modifiedOn"`
	Reactions  []reactionitem.ReactionItem `dynamodbav:"reactions"`
	IsEdited   bool                        `dynamodbav:"isEdited"`
}

func From

func (MessageRoomItem) To

func (item MessageRoomItem) To() message.Message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL