MCPcopy Create free account
hub / github.com/chanify/chanify / SetPriority

Method SetPriority

model/message.go:213–218  ·  view source on GitHub ↗

SetPriority set notification priority

(priority int)

Source from the content-addressed store, hash-verified

211
212// SetPriority set notification priority
213func (m *Message) SetPriority(priority int) *Message {
214 if priority > 0 && priority < 0x7fffffff {
215 m.Priority = int32(priority)
216 }
217 return m
218}
219
220// SetInterruptionLevel set time sensitive notification
221func (m *Message) SetInterruptionLevel(interruptionLevel string) *Message {

Callers 7

handleSenderMethod · 0.80
handlePostSenderMethod · 0.80
luaContextSendFunction · 0.80
TestSendDirectFunction · 0.80
TestSendDirectWatchFunction · 0.80
TestSendDirectMacOSFunction · 0.80
TestSendMsgFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestSendDirectFunction · 0.64
TestSendDirectWatchFunction · 0.64
TestSendDirectMacOSFunction · 0.64
TestSendMsgFunction · 0.64