if(proto.hasFlags()&&(proto.flagsandSignalServiceProtos.AttachmentPointer.Flags.VOICE_MESSAGE_VALUE)>0){//TODO validate that 'and' operator = swift '&'
kind=Kind.VOICE_MESSAGE
valkind:Kind=if(proto.hasFlags()&&(proto.flagsandSignalServiceProtos.AttachmentPointer.Flags.VOICE_MESSAGE_VALUE)>0){//TODO validate that 'and' operator = swift '&'