()
| 145 | } |
| 146 | |
| 147 | func (e *XMLElement) BuildElement() []*message.Elem { |
| 148 | return []*message.Elem{{ |
| 149 | RichMsg: &message.RichMsg{ |
| 150 | ServiceId: proto.Some(int32(e.ServiceID)), |
| 151 | Template1: append([]byte{0x01}, binary.ZlibCompress([]byte(e.Content))...), |
| 152 | }, |
| 153 | }} |
| 154 | } |
| 155 | |
| 156 | func (e *ForwardMessage) BuildElement() []*message.Elem { |
| 157 | fileID := utils.NewUUID() |
nothing calls this directly
no test coverage detected