sender

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(s *store.Session, m *store.Message) (*store.Message, error)

func SendMessageHelper

func SendMessageHelper(ID int64, message, file string, updateMessageChannel chan *store.Message) (error, *store.Message)

SendMessageHelper sends the message and returns the updated message

func SendMessageLoop

func SendMessageLoop(to string, message string, group bool, att io.Reader, flags int, timer uint32) uint64

SendMessageLoop sends a single message and also loops over groups in order to send it to each participant of the group

func SendUnsentMessages

func SendUnsentMessages()

Types

This section is empty.

Jump to

Keyboard shortcuts

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