delivrcpt

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 delivrcpt handles delivery receipt messages.

Index

Constants

This section is empty.

Variables

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

Type is the type definition for a delivery receipt.

Functions

This section is empty.

Types

type DeliveryReceipt

type DeliveryReceipt struct {
	message.BaseMessage
	MessageTo      string
	MessageSubject string
	LocalMessageID string
	DeliveredTime  string
	ExtraText      string
}

DeliveryReceipt holds the details of an XSC-standard delivery receipt message.

func New

func New() (m *DeliveryReceipt)

New creates a new delivery receipt message.

func (*DeliveryReceipt) EncodeBody

func (m *DeliveryReceipt) EncodeBody() string

EncodeBody encodes the message body.

func (*DeliveryReceipt) EncodeSubject

func (m *DeliveryReceipt) 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