Documentation ¶
Index ¶
- func SendMessage(s *store.Session, m *store.Message) (*store.Message, error)
- func SendMessageHelper(ID int64, message, file string, updateMessageChannel chan *store.Message) (error, *store.Message)
- func SendMessageLoop(to string, message string, group bool, att io.Reader, flags int, timer uint32) uint64
- func SendUnsentMessages()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.