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

Method SoundName

model/message.go:205–210  ·  view source on GitHub ↗

SoundName set notification sound

(sound string)

Source from the content-addressed store, hash-verified

203
204// SoundName set notification sound
205func (m *Message) SoundName(sound string) *Message {
206 if len(sound) > 0 && sound != "0" {
207 m.Sound = &pb.Sound{Name: sound}
208 }
209 return m
210}
211
212// SetPriority set notification priority
213func (m *Message) SetPriority(priority int) *Message {

Callers 3

handleSenderMethod · 0.95
handlePostSenderMethod · 0.95
luaContextSendFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected