SetPriority set notification priority
(priority int)
| 211 | |
| 212 | // SetPriority set notification priority |
| 213 | func (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 |
| 221 | func (m *Message) SetInterruptionLevel(interruptionLevel string) *Message { |
no outgoing calls