readrcpt

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: BSD-3-Clause Imports: 4 Imported by: 4

Documentation

Overview

Package readrcpt handles read receipt messages.

Index

Constants

This section is empty.

Variables

View Source
var Type = message.Type{
	Tag:     "READ",
	Name:    "read receipt",
	Article: "a",
}

Type is the type definition for a read receipt.

Functions

This section is empty.

Types

type ReadReceipt

type ReadReceipt struct {
	message.BaseMessage
	MessageTo      string
	MessageSubject string
	ReadTime       string
	ExtraText      string
}

ReadReceipt holds the details of an XSC-standard read receipt message.

func New

func New() (m *ReadReceipt)

New creates a new read receipt message.

func (*ReadReceipt) EncodeBody

func (m *ReadReceipt) EncodeBody() string

EncodeBody encodes the message body.

func (*ReadReceipt) EncodeSubject

func (m *ReadReceipt) EncodeSubject() string

EncodeSubject encodes the message subject.

Jump to

Keyboard shortcuts

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