privatemessage

package
v0.0.0-...-0523e7d Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_private_message_models_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PrivateMessage

type PrivateMessage struct {
	SenderId       string `protobuf:"bytes,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	SenderUsername string `protobuf:"bytes,2,opt,name=sender_username,json=senderUsername,proto3" json:"sender_username,omitempty"`
	RecipientId    string `protobuf:"bytes,3,opt,name=recipient_id,json=recipientId,proto3" json:"recipient_id,omitempty"`
	// The message may have been modified from the original for censoring purposes
	Message string                 `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	SentAt  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateMessage) Descriptor deprecated

func (*PrivateMessage) Descriptor() ([]byte, []int)

Deprecated: Use PrivateMessage.ProtoReflect.Descriptor instead.

func (*PrivateMessage) GetMessage

func (x *PrivateMessage) GetMessage() string

func (*PrivateMessage) GetRecipientId

func (x *PrivateMessage) GetRecipientId() string

func (*PrivateMessage) GetSenderId

func (x *PrivateMessage) GetSenderId() string

func (*PrivateMessage) GetSenderUsername

func (x *PrivateMessage) GetSenderUsername() string

func (*PrivateMessage) GetSentAt

func (x *PrivateMessage) GetSentAt() *timestamppb.Timestamp

func (*PrivateMessage) ProtoMessage

func (*PrivateMessage) ProtoMessage()

func (*PrivateMessage) ProtoReflect

func (x *PrivateMessage) ProtoReflect() protoreflect.Message

func (*PrivateMessage) Reset

func (x *PrivateMessage) Reset()

func (*PrivateMessage) String

func (x *PrivateMessage) String() string

Jump to

Keyboard shortcuts

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