Documentation
¶
Index ¶
- func SendMessage(s *store.Session, m *store.Message, isVoiceMessage bool) (*store.Message, error)
- func SendMessageHelper(ID int64, message, file string, updateMessageChannel chan *store.Message, ...) (*store.Message, error)
- func SendMessageLoop(to, 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 SendMessage ¶
func SendMessageHelper ¶
func SendMessageHelper(ID int64, message, file string, updateMessageChannel chan *store.Message, voiceMessage bool) (*store.Message, error)
SendMessageHelper sends the message and returns the updated message
func SendMessageLoop ¶
func SendMessageLoop(to, message string, group bool, att io.Reader, flags int, timer uint32, isVoiceMessage bool) 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.