Documentation
¶
Index ¶
- Variables
- type PrivateMessage
- func (*PrivateMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateMessage) GetMessage() string
- func (x *PrivateMessage) GetRecipientId() string
- func (x *PrivateMessage) GetSenderId() string
- func (x *PrivateMessage) GetSenderUsername() string
- func (x *PrivateMessage) GetSentAt() *timestamppb.Timestamp
- func (*PrivateMessage) ProtoMessage()
- func (x *PrivateMessage) ProtoReflect() protoreflect.Message
- func (x *PrivateMessage) Reset()
- func (x *PrivateMessage) String() string
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
Click to show internal directories.
Click to hide internal directories.